#include "ModelExtensibleGroup.hpp"
ModelExtensibleGroup is a WorkspaceExtensibleGroup with additional methods added to support extensible ModelObjects.
The ExtensibleGroup inheritance hierarchy roughly follows the IdfObject <- WorkspaceObject <- ModelObject <- etc. hierarchy, except that all concrete ModelObjects with ExtensibleGroup derived classes derive directly from ModelExtensibleGroup–there are no extensions of ModelExtensibleGroup for intermediate abstract classes.
virtual openstudio::model::ModelExtensibleGroup::~ModelExtensibleGroup |
( |
| ) |
|
|
inlinevirtual |
template<typename T >
boost::optional<T> openstudio::model::ModelExtensibleGroup::getModelObjectTarget |
( |
unsigned |
fieldIndex | ) |
const |
|
inline |
Get the ModelObject of type T pointed to from fieldIndex of this extensible group, if possible.
template<typename T >
std::vector<T> openstudio::model::ModelExtensibleGroup::getModelObjectTargets |
( |
| ) |
const |
|
inline |
Get all the ModelObjects of type T pointed to from this extensible group.
Return value will always be .empty() if this extensible group object is .empty().