Salome HOME
Remove not needed attributes from the field feature: they are duplicated in the Table...
[modules/shaper.git] / src / CollectionAPI / CollectionAPI_Field.h
index d7eef3ee58e4596a1cc5a0517f1c26dd931fae7a..302dff44ade2b52c0d6ca2425fc61c0d4a8cc057 100644 (file)
@@ -33,15 +33,11 @@ public:
   COLLECTIONAPI_EXPORT
   virtual ~CollectionAPI_Field();
 
-  INTERFACE_6(CollectionPlugin_Field::ID(),
+  INTERFACE_4(CollectionPlugin_Field::ID(),
     selection, CollectionPlugin_Field::SELECTED_ID(),
     ModelAPI_AttributeSelectionList, /** Field selection list*/,
     componentsNames, CollectionPlugin_Field::COMPONENTS_NAMES_ID(),
     ModelAPI_AttributeStringArray, /** Names of components list of strings */,
-    valuesType, CollectionPlugin_Field::VALUES_TYPE_ID(),
-    ModelAPI_AttributeInteger, /** Type of the values enumeration */,
-    stepsNum, CollectionPlugin_Field::STEPS_NB_ID(),
-    ModelAPI_AttributeInteger, /** Number of steps integer */,
     stamps, CollectionPlugin_Field::STAMPS_ID(),
     ModelAPI_AttributeIntArray, /** Identifiers of stamps */,
     values, CollectionPlugin_Field::VALUES_ID(), ModelAPI_AttributeTables /** Table of values */,
@@ -82,6 +78,11 @@ public:
   /// Dump wrapped feature
   COLLECTIONAPI_EXPORT
   virtual void dump(ModelHighAPI_Dumper& theDumper) const;
+
+  /// Returns the internal values tables
+  COLLECTIONAPI_EXPORT
+  std::shared_ptr<ModelAPI_AttributeTables> tableValues();
+
 };
 
 /// Pointer on Field object.