kim-api
2.3.0+v2.3.0.GNU.GNU.
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
|
An Extensible Enumeration for the ModelRoutineName's supported by the KIM API. More...
#include <KIM_ModelRoutineName.hpp>
Public Member Functions | |
ModelRoutineName () | |
Create an uninitialized ModelRoutineName object. More... | |
ModelRoutineName (int const id) | |
Create a ModelRoutineName object with the specified id. More... | |
ModelRoutineName (std::string const &str) | |
Create a ModelRoutineName object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated. More... | |
bool | Known () const |
Determines if the object is a quantity known to the KIM API. More... | |
bool | operator== (ModelRoutineName const &rhs) const |
Compares ModelRoutineName objects for equality. More... | |
bool | operator!= (ModelRoutineName const &rhs) const |
Compares ModelRoutineName objects for inequality. More... | |
std::string const & | ToString () const |
Converts the object to a string. More... | |
Public Attributes | |
int | modelRoutineNameID |
Integer identifying the specific ModelRoutineName represented. More... | |
An Extensible Enumeration for the ModelRoutineName's supported by the KIM API.
The enumeration constants are contained in the MODEL_ROUTINE_NAME namespace.
Definition at line 48 of file KIM_ModelRoutineName.hpp.
KIM::ModelRoutineName::ModelRoutineName | ( | ) |
Create an uninitialized ModelRoutineName object.
KIM::ModelRoutineName::ModelRoutineName | ( | int const | id | ) |
Create a ModelRoutineName object with the specified id.
KIM::ModelRoutineName::ModelRoutineName | ( | std::string const & | str | ) |
Create a ModelRoutineName object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated.
bool KIM::ModelRoutineName::Known | ( | ) | const |
Determines if the object is a quantity known to the KIM API.
ModelRoutineName's known to the KIM API are found in the MODEL_ROUTINE_NAME namespace.
bool KIM::ModelRoutineName::operator!= | ( | ModelRoutineName const & | rhs | ) | const |
Compares ModelRoutineName objects for inequality.
bool KIM::ModelRoutineName::operator== | ( | ModelRoutineName const & | rhs | ) | const |
Compares ModelRoutineName objects for equality.
std::string const& KIM::ModelRoutineName::ToString | ( | ) | const |
Converts the object to a string.
int KIM::ModelRoutineName::modelRoutineNameID |
Integer identifying the specific ModelRoutineName represented.
Definition at line 61 of file KIM_ModelRoutineName.hpp.