20 #ifndef CollectionAPI_Field_H_
21 #define CollectionAPI_Field_H_
23 #include "CollectionAPI.h"
25 #include <CollectionPlugin_Field.h>
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
33 class ModelHighAPI_ComponentValue;
77 const std::list<std::list<
double> >& theComponents);
81 const std::list<std::list<
int> >& theComponents);
85 const std::list<std::list<std::
string> >& theComponents);
89 const std::list<std::list<
bool> >& theComponents);
109 const std::
string& theComponentType,
110 const
int theComponentsNum,
111 const std::list<std::
string>& theComponentNames,
\inField CPPHighAPI
Definition: CollectionAPI_Field.h:39
CollectionAPI_Field(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: CollectionAPI_Field.cpp:32
std::shared_ptr< ModelAPI_AttributeTables > tableValues()
Returns the internal values tables.
Definition: CollectionAPI_Field.cpp:148
virtual std::shared_ptr< ModelAPI_AttributeSelectionList > selection() const
Field selection list.
Definition: CollectionAPI_Field.h:57
void setValuesType(const std::string &theType)
Set type of values.
Definition: CollectionAPI_Field.cpp:58
virtual std::shared_ptr< ModelAPI_AttributeIntArray > stamps() const
Identifiers of stamps.
Definition: CollectionAPI_Field.h:57
virtual std::shared_ptr< ModelAPI_AttributeStringArray > componentsNames() const
Names of components list of strings.
Definition: CollectionAPI_Field.h:57
void addStep(const ModelHighAPI_Integer &theStepNum, const ModelHighAPI_Integer &theStamp, const std::list< std::list< double > > &theComponents)
Sets the double values of specific step.
Definition: CollectionAPI_Field.cpp:102
void setStamps(const std::list< ModelHighAPI_Integer > &theStamps)
Set stamps identifiers.
Definition: CollectionAPI_Field.cpp:72
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: CollectionAPI_Field.cpp:108
void setComponentsNames(const std::list< std::string > &theNames)
Set names of components.
Definition: CollectionAPI_Field.cpp:51
void setSelection(const std::list< ModelHighAPI_Selection > &theFieldList)
Set selected objects.
Definition: CollectionAPI_Field.cpp:44
void setStepsNum(const ModelHighAPI_Integer &theSteps)
Set number of steps.
Definition: CollectionAPI_Field.cpp:65
virtual ~CollectionAPI_Field()
Destructor.
Definition: CollectionAPI_Field.cpp:39
static const std::string & COMPONENTS_NAMES_ID()
attribute name of componenets titles array
Definition: CollectionPlugin_Field.h:58
static const std::string & ID()
Feature kind.
Definition: CollectionPlugin_Field.h:46
static const std::string & SELECTED_ID()
attribute name of selected entities list
Definition: CollectionPlugin_Field.h:52
static const std::string & VALUES_ID()
attribute name of list of tables that contain deafult values (row 0) and the custom values
Definition: CollectionPlugin_Field.h:70
static const std::string & STAMPS_ID()
attribute name of stamps integer array
Definition: CollectionPlugin_Field.h:64
API for the attribute that contains several integers in the array inside.
Definition: ModelAPI_AttributeIntArray.h:36
Attribute that contains list of references to the sub-shapes with possibility to manage them.
Definition: ModelAPI_AttributeSelectionList.h:37
API for the attribute that contains several strings in the array inside.
Definition: ModelAPI_AttributeStringArray.h:32
API for the attribute that contains tables of some values type.
Definition: ModelAPI_AttributeTables.h:39
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:52
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Class for filling ModelAPI_AttributeInteger.
Definition: ModelHighAPI_Integer.h:36
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:42
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49