OpenStudioCore:utilities/idd
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
openstudio::IddObjectProperties Struct Reference

#include <IddObjectProperties.hpp>

Public Member Functions

 IddObjectProperties ()
 Default constructor. More...
 
bool operator!= (const IddObjectProperties &other) const
 Negation of operator==. More...
 
bool operator== (const IddObjectProperties &other) const
 Returns true if all of the underlying data is exactly equal. More...
 
std::ostream & print (std::ostream &os) const
 Print object-level IDD flags to os. More...
 

Public Attributes

bool extensible
 Returns true if this object is extensible. More...
 
std::string format
 Formatting markup for this object. More...
 
bool hasURL
 Returns true if this object contains an IddField of type url. More...
 
boost::optional< unsigned > maxFields
 Maximum number of fields allowed in IdfObjects following this schema. More...
 
std::string memo
 Returns the memo associated with this object. More...
 
unsigned minFields
 Minimum number of fields required for an IdfObject to be valid according to this schema. More...
 
unsigned numExtensible
 Returns the number of fields in this object's extensible group (zero if !extensible). More...
 
unsigned numExtensibleGroupsRequired
 Returns the minimum number of extensible groups an IdfObject following this schema must have to be valid. More...
 
bool obsolete
 Returns true if this object is obsolete. More...
 
bool required
 Returns true if this object is required for an IdfFile to be valid. More...
 
bool unique
 Returns true if this object must be unique within an individual IdfFile. More...
 

Detailed Description

IddObjectProperties describes the properties of an IddObject, as specified by object-level IDD markup.

Constructor & Destructor Documentation

openstudio::IddObjectProperties::IddObjectProperties ( )

Default constructor.

Member Function Documentation

bool openstudio::IddObjectProperties::operator!= ( const IddObjectProperties other) const

Negation of operator==.

bool openstudio::IddObjectProperties::operator== ( const IddObjectProperties other) const

Returns true if all of the underlying data is exactly equal.

std::ostream& openstudio::IddObjectProperties::print ( std::ostream &  os) const

Print object-level IDD flags to os.

Includes indentation for IDD file readability.

Member Data Documentation

bool openstudio::IddObjectProperties::extensible

Returns true if this object is extensible.

std::string openstudio::IddObjectProperties::format

Formatting markup for this object.

Often empty. Contains suggestions for printing certain types of IdfObjects. For instance, many geometric objects have \format vertices.

bool openstudio::IddObjectProperties::hasURL

Returns true if this object contains an IddField of type url.

boost::optional<unsigned> openstudio::IddObjectProperties::maxFields

Maximum number of fields allowed in IdfObjects following this schema.

Limits the number of allowable extensible groups.

std::string openstudio::IddObjectProperties::memo

Returns the memo associated with this object.

unsigned openstudio::IddObjectProperties::minFields

Minimum number of fields required for an IdfObject to be valid according to this schema.

unsigned openstudio::IddObjectProperties::numExtensible

Returns the number of fields in this object's extensible group (zero if !extensible).

unsigned openstudio::IddObjectProperties::numExtensibleGroupsRequired

Returns the minimum number of extensible groups an IdfObject following this schema must have to be valid.

bool openstudio::IddObjectProperties::obsolete

Returns true if this object is obsolete.

bool openstudio::IddObjectProperties::required

Returns true if this object is required for an IdfFile to be valid.

bool openstudio::IddObjectProperties::unique

Returns true if this object must be unique within an individual IdfFile.