FormIt C++ API
v23.0.0 (2023.0.0)
|
This is a helper class to convert the many representations of Objects used by the WSM APIs.class HistoryObjects.
This class is used for the JS API to make it easier to take results from one API and call another API without having to convert the Object representation in JS code. Automatic conversions from:
GroupInstancePath
GroupInstancePathArray
ObjectHistoryIDArray
ObjectHistoryID
ObjectIDArray
size_t
To:
GroupInstancePath
GroupInstancePathArray
ObjectHistoryIDArray
ObjectHistoryID
ObjectIDArray
#include <historyobjects.h>
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
WSM::Utils::HistoryObjects::HistoryObjects | ( | ObjectIDArray const & | objectIDs | ) |
|
inline |
WSM::Utils::HistoryObjects::HistoryObjects | ( | json & | jin, |
1::string const & | objectsKey, | ||
1::string | history = "NOTSPECIFIED" , |
||
1::string | groupInstancePathKey = "NOTSPECIFIED" |
||
) |
ctor used for JS API.
void WSM::Utils::HistoryObjects::Clear | ( | ) |
Clear all the data.
|
inline |
Get the History ID all the Object IDs belong to.
|
inline |
Check if HistoryObjects has a valid History.
bool WSM::Utils::HistoryObjects::IsAlive | ( | ) |
Check to see if everything is alive.
WSM::Utils::HistoryObjects::operator GroupInstancePath const & | ( | ) |
Cast operators.
WSM::Utils::HistoryObjects::operator GroupInstancePathArray const & | ( | ) |
WSM::Utils::HistoryObjects::operator ObjectHistoryID const & | ( | ) |
WSM::Utils::HistoryObjects::operator ObjectHistoryIDArray const & | ( | ) |
WSM::Utils::HistoryObjects::operator ObjectIDArray const & | ( | ) |
HistoryObjects& WSM::Utils::HistoryObjects::operator= | ( | GroupInstancePath const & | ) |
Assignment operators.
HistoryObjects& WSM::Utils::HistoryObjects::operator= | ( | GroupInstancePathArray const & | ) |
HistoryObjects& WSM::Utils::HistoryObjects::operator= | ( | ObjectHistoryIDArray const & | ) |
HistoryObjects& WSM::Utils::HistoryObjects::operator= | ( | ObjectIDArray const & | ) |
bool WSM::Utils::HistoryObjects::operator== | ( | HistoryObjects & | r | ) |
|
inline |
Set the instance path.