#include "ModelHighAPI.h"
#include <list>
+#include <map>
#include <memory>
#include <string>
#include <iostream>
class ModelAPI_Feature;
class ModelAPI_Result;
class ModelHighAPI_Selection;
+class ModelHighAPI_Dumper;
//--------------------------------------------------------------------------------------
/**\class ModelHighAPI_Interface
* \ingroup CPPHighAPI
MODELHIGHAPI_EXPORT
void throwException(const std::string & theDescription);
+ /// Return name of getter for specified attribute
+ MODELHIGHAPI_EXPORT
+ const std::string& attributeGetter(const std::string& theAttrName);
+
+ /// Dump wrapped feature
+ MODELHIGHAPI_EXPORT
+ virtual void dump(ModelHighAPI_Dumper& theDumper) const {}
+
protected:
std::shared_ptr<ModelAPI_Feature> myFeature;
+
+ std::map<std::string, std::string> myAttrGetter; ///< names of attributes and their getters
};
+//! Pointer on Interface object
+typedef std::shared_ptr<ModelHighAPI_Interface> InterfacePtr;
+
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------
#endif /* SRC_MODELHIGHAPI_MODELHIGHAPI_INTERFACE_H_ */