#include <IddKey.hpp>
Public Member Functions | |
Constructors and Destructors | |
IddKey () | |
Default constructor. | |
IddKey (const IddKey &other) | |
Copy constructor shares implementation. | |
Getters | |
std::string | name () const |
Returns the key name. | |
const IddKeyProperties & | properties () const |
Returns the key properties. | |
Queries | |
bool | operator== (const IddKey &other) const |
Returns true if all data is exactly equal. | |
bool | operator!= (const IddKey &other) const |
Negation of operator==. | |
Related Symbols | |
(Note that these are not member symbols.) | |
using | IddKeyVector = std::vector<IddKey> |
std::ostream & | operator<< (std::ostream &os, const IddKey &iddKey) |
using | OptionalIddKey = boost::optional<IddKey> |
Serialization | |
std::ostream & | print (std::ostream &os) const |
Print to os in standard IDD format. | |
static boost::optional< IddKey > | load (const std::string &name, const std::string &text) |
Load from text. | |
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 |