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 SupportStatus's supported by the KIM API. More...
#include <KIM_SupportStatus.hpp>
Public Member Functions | |
SupportStatus () | |
Create an uninitialized SupportStatus object. More... | |
SupportStatus (int const id) | |
Create a SupportStatus object with the specified id. More... | |
SupportStatus (std::string const &str) | |
Create a SupportStatus 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== (SupportStatus const &rhs) const |
Compares SupportStatus objects for equality. More... | |
bool | operator!= (SupportStatus const &rhs) const |
Compares SupportStatus objects for inequality. More... | |
std::string const & | ToString () const |
Converts the object to a string. More... | |
Public Attributes | |
int | supportStatusID |
Integer identifying the specific SupportStatus represented. More... | |
An Extensible Enumeration for the SupportStatus's supported by the KIM API.
The enumeration constants are contained in the SUPPORT_STATUS namespace.
Definition at line 46 of file KIM_SupportStatus.hpp.
KIM::SupportStatus::SupportStatus | ( | ) |
Create an uninitialized SupportStatus object.
KIM::SupportStatus::SupportStatus | ( | int const | id | ) |
KIM::SupportStatus::SupportStatus | ( | std::string const & | str | ) |
Create a SupportStatus 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::SupportStatus::Known | ( | ) | const |
Determines if the object is a quantity known to the KIM API.
SupportStatus's known to the KIM API are found in the SUPPORT_STATUS namespace.
bool KIM::SupportStatus::operator!= | ( | SupportStatus const & | rhs | ) | const |
Compares SupportStatus objects for inequality.
bool KIM::SupportStatus::operator== | ( | SupportStatus const & | rhs | ) | const |
Compares SupportStatus objects for equality.
std::string const& KIM::SupportStatus::ToString | ( | ) | const |
Converts the object to a string.
int KIM::SupportStatus::supportStatusID |
Integer identifying the specific SupportStatus represented.
Definition at line 58 of file KIM_SupportStatus.hpp.