#include <IddKey.hpp>
Public Member Functions | |
Constructors and Destructors | |
IddKey () | |
Default constructor. More... | |
IddKey (const IddKey &other) | |
Copy constructor shares implementation. More... | |
Getters | |
std::string | name () const |
Returns the key name. More... | |
const IddKeyProperties & | properties () const |
Returns the key properties. More... | |
Queries | |
bool | operator== (const IddKey &other) const |
Returns true if all data is exactly equal. More... | |
bool | operator!= (const IddKey &other) const |
Negation of operator==. More... | |
Related Functions | |
(Note that these are not member functions.) | |
typedef std::vector< IddKey > | IddKeyVector |
std::ostream & | operator<< (std::ostream &os, const IddKey &iddKey) |
typedef boost::optional< IddKey > | OptionalIddKey |
Serialization | |
std::ostream & | print (std::ostream &os) const |
Print to os in standard IDD format. More... | |
static boost::optional< IddKey > | load (const std::string &name, const std::string &text) |
Load from text. More... | |
IddKey represents an enumeration value for an IDD field of type choice.
openstudio::IddKey::IddKey | ( | ) |
Default constructor.
openstudio::IddKey::IddKey | ( | const IddKey & | other | ) |
Copy constructor shares implementation.
|
static |
Load from text.
std::string openstudio::IddKey::name | ( | ) | const |
Returns the key name.
bool openstudio::IddKey::operator!= | ( | const IddKey & | other | ) | const |
Negation of operator==.
bool openstudio::IddKey::operator== | ( | const IddKey & | other | ) | const |
Returns true if all data is exactly equal.
std::ostream& openstudio::IddKey::print | ( | std::ostream & | os | ) | const |
Print to os in standard IDD format.
const IddKeyProperties& openstudio::IddKey::properties | ( | ) | const |
Returns the key properties.
|
related |
|
related |
|
related |