#include <FloorplanJS.hpp>
|
| FloorplanObject (const std::string &id, const std::string &name, const std::string &handleString) |
| pass empty string for any null values
|
|
| FloorplanObject (const std::string &id, const std::string &name, const UUID &handle) |
|
boost::optional< bool > | getDataBool (const std::string &key) const |
|
boost::optional< double > | getDataDouble (const std::string &key) const |
|
boost::optional< int > | getDataInt (const std::string &key) const |
|
boost::optional< FloorplanObject > | getDataReference (const std::string &key) const |
|
boost::optional< std::string > | getDataString (const std::string &key) const |
|
UUID | handle () const |
| handle of corresponding OpenStudio Model object, will be null if none
|
|
std::string | handleString () const |
| handle of corresponding OpenStudio Model object, will be empty string if none
|
|
std::string | id () const |
| id in FloorplanJS
|
|
std::string | name () const |
| object name
|
|
boost::optional< std::string > | parentHandleString () const |
| handle of corresponding OpenStudio Model parent object, will be null if none
|
|
void | resetParentHandleString () |
|
void | setDataBool (const std::string &key, bool value) |
|
void | setDataDouble (const std::string &key, double value) |
|
void | setDataInt (const std::string &key, int value) |
|
void | setDataReference (const std::string &key, const FloorplanObject &value) |
|
void | setDataString (const std::string &key, const std::string &value) |
|
void | setParentHandleString (const std::string &parentHandleString) |
|
FloorplanObject is used to update data in a FloorplanJS object.
The class is not impl-ized in hopes that it can be ported to JavaScript via emscripten
◆ FloorplanObject() [1/2]
openstudio::FloorplanObject::FloorplanObject |
( |
const std::string & | id, |
|
|
const std::string & | name, |
|
|
const std::string & | handleString ) |
pass empty string for any null values
◆ FloorplanObject() [2/2]
openstudio::FloorplanObject::FloorplanObject |
( |
const std::string & | id, |
|
|
const std::string & | name, |
|
|
const UUID & | handle ) |
◆ getDataBool()
boost::optional< bool > openstudio::FloorplanObject::getDataBool |
( |
const std::string & | key | ) |
const |
◆ getDataDouble()
boost::optional< double > openstudio::FloorplanObject::getDataDouble |
( |
const std::string & | key | ) |
const |
◆ getDataInt()
boost::optional< int > openstudio::FloorplanObject::getDataInt |
( |
const std::string & | key | ) |
const |
◆ getDataReference()
boost::optional< FloorplanObject > openstudio::FloorplanObject::getDataReference |
( |
const std::string & | key | ) |
const |
◆ getDataString()
boost::optional< std::string > openstudio::FloorplanObject::getDataString |
( |
const std::string & | key | ) |
const |
◆ handle()
UUID openstudio::FloorplanObject::handle |
( |
| ) |
const |
handle of corresponding OpenStudio Model object, will be null if none
◆ handleString()
std::string openstudio::FloorplanObject::handleString |
( |
| ) |
const |
handle of corresponding OpenStudio Model object, will be empty string if none
◆ id()
std::string openstudio::FloorplanObject::id |
( |
| ) |
const |
◆ name()
std::string openstudio::FloorplanObject::name |
( |
| ) |
const |
◆ parentHandleString()
boost::optional< std::string > openstudio::FloorplanObject::parentHandleString |
( |
| ) |
const |
handle of corresponding OpenStudio Model parent object, will be null if none
◆ resetParentHandleString()
void openstudio::FloorplanObject::resetParentHandleString |
( |
| ) |
|
◆ setDataBool()
void openstudio::FloorplanObject::setDataBool |
( |
const std::string & | key, |
|
|
bool | value ) |
◆ setDataDouble()
void openstudio::FloorplanObject::setDataDouble |
( |
const std::string & | key, |
|
|
double | value ) |
◆ setDataInt()
void openstudio::FloorplanObject::setDataInt |
( |
const std::string & | key, |
|
|
int | value ) |
◆ setDataReference()
void openstudio::FloorplanObject::setDataReference |
( |
const std::string & | key, |
|
|
const FloorplanObject & | value ) |
◆ setDataString()
void openstudio::FloorplanObject::setDataString |
( |
const std::string & | key, |
|
|
const std::string & | value ) |
◆ setParentHandleString()
void openstudio::FloorplanObject::setParentHandleString |
( |
const std::string & | parentHandleString | ) |
|