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