|
|
Date | startDate () const |
| The date that the billing period starts.
|
|
Date | endDate () const |
| The date that the billing period ends.
|
|
unsigned | numberOfDays () const |
| The duration of the billing period in days.
|
|
boost::optional< double > | consumption () const |
| Returns the consumption in billing units.
|
|
boost::optional< double > | peakDemand () const |
| Returns the peak demand in billing units.
|
|
boost::optional< double > | totalCost () const |
| Returns the total cost of the bill in dollars.
|
|
|
bool | setStartDate (const Date &startDate) |
| Sets the start date.
|
|
bool | setEndDate (const Date &endDate) |
| Sets the end date.
|
|
bool | setNumberOfDays (unsigned numberOfDays) |
| Sets the number of days in billing period, startDate is always retained.
|
|
bool | setConsumption (double consumption) |
| Sets the consumption in billing units.
|
|
void | resetConsumption () |
|
bool | setPeakDemand (double peakDemand) |
| Sets the peak demand in billing units.
|
|
void | resetPeakDemand () |
|
bool | setTotalCost (double totalCost) |
| Sets the total cost of the bill in dollars.
|
|
void | resetTotalCost () |
|
| ModelExtensibleGroup (const ModelExtensibleGroup &other)=default |
|
| ModelExtensibleGroup (ModelExtensibleGroup &&other)=default |
|
ModelExtensibleGroup & | operator= (const ModelExtensibleGroup &)=default |
|
ModelExtensibleGroup & | operator= (ModelExtensibleGroup &&)=default |
|
virtual | ~ModelExtensibleGroup () override=default |
|
template<typename T > |
boost::optional< T > | getModelObjectTarget (unsigned fieldIndex) const |
| Get the ModelObject of type T pointed to from fieldIndex of this extensible group, if possible.
|
|
template<typename T > |
std::vector< T > | getModelObjectTargets () const |
| Get all the ModelObjects of type T pointed to from this extensible group.
|
|
bool | setSchedule (unsigned index, const std::string &className, const std::string &scheduleDisplayName, Schedule &schedule) |
| Sets index to point to schedule if schedule's ScheduleTypeLimits are compatible with the ScheduleType in the ScheduleTypeRegistry for (className,scheduleDisplayName), or if schedule's ScheduleTypeLimits have not yet been set (in which case the ScheduleTypeRegistry is used to retrieve or create an appropriate one).
|
|
bool | canBeSource () const |
|
std::vector< unsigned > | getSourceFieldIndices (const Handle &targetHandle) const |
|
std::vector< unsigned > | getSourceFieldIndices (const Handle &targetHandle) const |
|
boost::optional< WorkspaceObject > | getTarget (unsigned fieldIndex) const |
|
boost::optional< WorkspaceObject > | getTarget (unsigned fieldIndex) const |
|
std::vector< WorkspaceObject > | getTargets () const |
|
std::vector< WorkspaceObject > | getTargets () const |
|
bool | isSource () const |
|
bool | setPointer (unsigned fieldIndex, const Handle &targetHandle) |
|
bool | setPointer (unsigned fieldIndex, const Handle &targetHandle) |
|
bool | setPointer (unsigned fieldIndex, const Handle &targetHandle, bool checkValidity) |
|
bool | setPointer (unsigned fieldIndex, const Handle &targetHandle, bool checkValidity) |
|
virtual | ~WorkspaceExtensibleGroup () override=default |
|
T | cast () const |
|
std::vector< unsigned > | dataFields () const |
|
std::vector< unsigned > | dataFields () const |
|
bool | empty () const |
|
bool | empty () const |
|
boost::optional< std::string > | fieldComment (unsigned fieldIndex, bool returnDefault=false) const |
|
boost::optional< std::string > | fieldComment (unsigned fieldIndex, bool returnDefault=false) const |
|
std::vector< std::string > | fieldComments (bool returnDefault=false) const |
|
std::vector< std::string > | fieldComments (bool returnDefault=false) const |
|
std::vector< std::string > | fields (bool returnDefault=false) const |
|
std::vector< std::string > | fields (bool returnDefault=false) const |
|
std::vector< std::string > | fieldsWithHandles (bool returnDefault=false) const |
|
std::vector< std::string > | fieldsWithHandles (bool returnDefault=false) const |
|
boost::optional< double > | getDouble (unsigned fieldIndex, bool returnDefault=false) const |
|
boost::optional< double > | getDouble (unsigned fieldIndex, bool returnDefault=false) const |
|
boost::optional< std::string > | getField (unsigned index, bool returnDefault=false) const |
|
boost::optional< std::string > | getField (unsigned index, bool returnDefault=false) const |
|
boost::optional< int > | getInt (unsigned fieldIndex, bool returnDefault=false) const |
|
boost::optional< int > | getInt (unsigned fieldIndex, bool returnDefault=false) const |
|
T | getObject () const |
|
boost::optional< T > | getOptionalObject () const |
|
boost::optional< std::string > | getString (unsigned fieldIndex, bool returnDefault=false) const |
|
boost::optional< std::string > | getString (unsigned fieldIndex, bool returnDefault=false) const |
|
boost::optional< unsigned > | getUnsigned (unsigned fieldIndex, bool returnDefault=false) const |
|
boost::optional< unsigned > | getUnsigned (unsigned fieldIndex, bool returnDefault=false) const |
|
unsigned | groupIndex () const |
|
unsigned | groupIndex () const |
|
IdfExtensibleGroup | insertClone (unsigned groupIndex) const |
|
IdfExtensibleGroup | insertClone (unsigned groupIndex) const |
|
bool | isEmpty (unsigned fieldIndex) const |
|
bool | isEmpty (unsigned fieldIndex) const |
|
bool | isValid (unsigned fieldIndex) const |
|
bool | isValid (unsigned fieldIndex) const |
|
unsigned | numFields () const |
|
unsigned | numFields () const |
|
std::vector< unsigned > | objectListFields () const |
|
std::vector< unsigned > | objectListFields () const |
|
bool | operator!= (const IdfExtensibleGroup &other) const |
|
bool | operator!= (const IdfExtensibleGroup &other) const |
|
bool | operator== (const IdfExtensibleGroup &other) const |
|
bool | operator== (const IdfExtensibleGroup &other) const |
|
boost::optional< T > | optionalCast () const |
|
IdfExtensibleGroup | pushClone () const |
|
IdfExtensibleGroup | pushClone () const |
|
std::vector< unsigned > | requiredFields () const |
|
std::vector< unsigned > | requiredFields () const |
|
bool | setDouble (unsigned fieldIndex, double value) |
|
bool | setDouble (unsigned fieldIndex, double value) |
|
bool | setFieldComment (unsigned fieldIndex, const std::string &cmnt) |
|
bool | setFieldComment (unsigned fieldIndex, const std::string &cmnt) |
|
bool | setFields (const std::vector< std::string > &values) |
|
bool | setFields (const std::vector< std::string > &values) |
|
bool | setInt (unsigned fieldIndex, int value) |
|
bool | setInt (unsigned fieldIndex, int value) |
|
bool | setString (unsigned fieldIndex, const std::string &value) |
|
bool | setString (unsigned fieldIndex, const std::string &value) |
|
bool | setString (unsigned fieldIndex, const std::string &value, bool checkValidity) |
|
bool | setString (unsigned fieldIndex, const std::string &value, bool checkValidity) |
|
bool | setUnsigned (unsigned fieldIndex, unsigned value) |
|
bool | setUnsigned (unsigned fieldIndex, unsigned value) |
|
virtual | ~IdfExtensibleGroup ()=default |
|
virtual | ~IdfExtensibleGroup ()=default |
|