Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
error::detail::pdbCategory Class Reference
Inheritance diagram for error::detail::pdbCategory:
Inheritance graph
[legend]
Collaboration diagram for error::detail::pdbCategory:
Collaboration graph
[legend]

Public Member Functions

const char * name () const noexcept
 
std::string message (int value) const
 

Detailed Description

Definition at line 59 of file pdb2cif.cpp.

Member Function Documentation

◆ message()

std::string error::detail::pdbCategory::message ( int  value) const
inline

Definition at line 67 of file pdb2cif.cpp.

68  {
69  switch (value)
70  {
71  case residueNotFound:
72  return "Residue not found";
73 
74  case invalidDate:
75  return "Invalid date";
76 
77  default:
78  return "Error in PDB format";
79  }
80  }

◆ name()

const char* error::detail::pdbCategory::name ( ) const
inlinenoexcept

Definition at line 62 of file pdb2cif.cpp.

63  {
64  return "pdb";
65  }

The documentation for this class was generated from the following file: