kim-api
2.0.2+v2.0.2.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
|
An Extensible Enumeration for the LogVerbosity's supported by the KIM API. More...
#include <KIM_LogVerbosity.hpp>
Public Member Functions | |
LogVerbosity () | |
Create an uninitialized LogVerbosity object. More... | |
LogVerbosity (int const id) | |
Create a LogVerbosity object with the specified id. More... | |
LogVerbosity (std::string const &str) | |
Create a LogVerbosity 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< (LogVerbosity const &rhs) const |
Compares LogVerbosity objects for less-than. More... | |
bool | operator> (LogVerbosity const &rhs) const |
Compares LogVerbosity objects for greater-than. More... | |
bool | operator<= (LogVerbosity const &rhs) const |
Compares LogVerbosity objects for less-than-equal. More... | |
bool | operator>= (LogVerbosity const &rhs) const |
Compares LogVerbosity objects for greater-than-equal. More... | |
bool | operator== (LogVerbosity const &rhs) const |
Compares LogVerbosity objects for equality. More... | |
bool | operator!= (LogVerbosity const &rhs) const |
Compares LogVerbosity objects for inequality. More... | |
std::string const & | ToString () const |
Converts the object to a string. More... | |
Public Attributes | |
int | logVerbosityID |
Integer identifying the specific LogVerbosity represented. More... | |
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.
The enumeration constants are contained in the LOG_VERBOSITY namespace.
Definition at line 54 of file KIM_LogVerbosity.hpp.
KIM::LogVerbosity::LogVerbosity | ( | ) |
Create an uninitialized LogVerbosity object.
KIM::LogVerbosity::LogVerbosity | ( | int const | id | ) |
KIM::LogVerbosity::LogVerbosity | ( | std::string const & | str | ) |
Create a LogVerbosity 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::LogVerbosity::Known | ( | ) | const |
Determines if the object is a quantity known to the KIM API.
LogVerbosity's known to the KIM API are found in the LOG_VERBOSITY namespace.
bool KIM::LogVerbosity::operator!= | ( | LogVerbosity const & | rhs | ) | const |
Compares LogVerbosity objects for inequality.
bool KIM::LogVerbosity::operator< | ( | LogVerbosity const & | rhs | ) | const |
Compares LogVerbosity objects for less-than.
bool KIM::LogVerbosity::operator<= | ( | LogVerbosity const & | rhs | ) | const |
Compares LogVerbosity objects for less-than-equal.
bool KIM::LogVerbosity::operator== | ( | LogVerbosity const & | rhs | ) | const |
Compares LogVerbosity objects for equality.
bool KIM::LogVerbosity::operator> | ( | LogVerbosity const & | rhs | ) | const |
Compares LogVerbosity objects for greater-than.
bool KIM::LogVerbosity::operator>= | ( | LogVerbosity const & | rhs | ) | const |
Compares LogVerbosity objects for greater-than-equal.
std::string const& KIM::LogVerbosity::ToString | ( | ) | const |
Converts the object to a string.
int KIM::LogVerbosity::logVerbosityID |
Integer identifying the specific LogVerbosity represented.
Definition at line 66 of file KIM_LogVerbosity.hpp.