#include <Attribute.hpp>
Public Member Functions | |
AttributeDescription (const std::string &t_name, const std::string &t_displayName, const std::string &t_description, const AttributeValueType &t_validValueType, bool t_required) | |
AttributeDescription (const std::string &t_name, const std::string &t_displayName, const std::string &t_description, const AttributeValueType &t_validValueType, bool t_required, QVariant t_defaultValue) | |
AttributeDescription (const std::string &t_name, const std::string &t_displayName, const std::string &t_description, const std::vector< AttributeValueType > &t_validValueTypes, bool t_required) | |
AttributeDescription (const std::string &t_name, const std::string &t_displayName, const std::string &t_description, const std::vector< AttributeValueType > &t_validValueTypes, bool t_required, QVariant t_defaultValue) | |
Public Attributes | |
QVariant | defaultValue |
std::string | description |
std::string | displayName |
std::string | name |
bool | required |
std::vector< AttributeValueType > | validValueTypes |
Related Functions | |
(Note that these are not member functions.) | |
typedef std::vector < AttributeDescription > | AttributeDescriptionVector |
typedef boost::optional < AttributeDescription > | OptionalAttributeDescription |
AttributeDescription describes what an acceptable Attribute is in a given context.
At this time, it is primarily used in openstudio::analysis::GenericUncertaintyDescription. Note that AttributeDescription was designed to provide the information needed by a UI developer to properly prompt a user for the data needed to create a new Attribute.
openstudio::AttributeDescription::AttributeDescription | ( | const std::string & | t_name, |
const std::string & | t_displayName, | ||
const std::string & | t_description, | ||
const AttributeValueType & | t_validValueType, | ||
bool | t_required | ||
) |
openstudio::AttributeDescription::AttributeDescription | ( | const std::string & | t_name, |
const std::string & | t_displayName, | ||
const std::string & | t_description, | ||
const AttributeValueType & | t_validValueType, | ||
bool | t_required, | ||
QVariant | t_defaultValue | ||
) |
openstudio::AttributeDescription::AttributeDescription | ( | const std::string & | t_name, |
const std::string & | t_displayName, | ||
const std::string & | t_description, | ||
const std::vector< AttributeValueType > & | t_validValueTypes, | ||
bool | t_required | ||
) |
openstudio::AttributeDescription::AttributeDescription | ( | const std::string & | t_name, |
const std::string & | t_displayName, | ||
const std::string & | t_description, | ||
const std::vector< AttributeValueType > & | t_validValueTypes, | ||
bool | t_required, | ||
QVariant | t_defaultValue | ||
) |
|
related |
|
related |
QVariant openstudio::AttributeDescription::defaultValue |
std::string openstudio::AttributeDescription::description |
std::string openstudio::AttributeDescription::displayName |
std::string openstudio::AttributeDescription::name |
bool openstudio::AttributeDescription::required |
std::vector<AttributeValueType> openstudio::AttributeDescription::validValueTypes |