5class __declspec(dllexport) EntityMetadataSeries :
public EntityWithDynamicFields
8 EntityMetadataSeries(
ot::UID ID, EntityBase* parent, EntityObserver* mdl, ModelState* ms, ClassFactoryHandler* factory,
const std::string& owner);
9 std::string getClassName()
override {
return "EntityMetadataSeries"; };
10 virtual entityType getEntityType(
void)
override {
return TOPOLOGY; };
11 virtual bool getEntityBox(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
double& zmin,
double& zmax)
override;
12 virtual void addVisualizationNodes()
override;
14 std::vector<std::string> getAllParameterDocumentNames();
15 std::vector<std::string> getAllQuantityDocumentNames();
16 const std::string getParameterDocumentName()
const {
return _parameterDocument; }
17 const std::string getQuantityDocumentName()
const {
return _quantityDocument; }
19 void InsertToParameterField(std::string fieldName, std::list<ot::Variable>&& values, std::string documentName =
"");
20 void InsertToQuantityField(std::string fieldName, std::list<ot::Variable>&& values, std::string documentName =
"");
22 const std::string _parameterDocument =
"Parameter";
23 const std::string _quantityDocument =
"Quantity";
Abstract class that allows assembling fields and subdocuments of the entity during runtime.
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27