1 // File: ModelAPI_ResultPart.h
2 // Created: 07 Jul 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef ModelAPI_ResultPart_H_
6 #define ModelAPI_ResultPart_H_
8 #include "ModelAPI_Result.h"
12 /**\class ModelAPI_ResultPart
14 * \brief The Part document, result of a creation of new part feature.
16 * This result leaves without feature: no parametricity for this element,
17 * only add/remove, undo/redo.
19 class ModelAPI_ResultPart : public ModelAPI_Result
22 /// Returns the group identifier of this result
23 virtual std::string groupName()
28 /// Returns the group identifier of this result
29 static std::string group()
31 static std::string MY_GROUP = "Parts";
35 /// part document reference attribute
36 inline static const std::string& DOC_REF()
38 static const std::string MY_DOC_REF("PartDocument");
42 /// Returns the part-document of this result
43 virtual boost::shared_ptr<ModelAPI_Document> partDoc() = 0;
46 //! Pointer on feature object
47 typedef boost::shared_ptr<ModelAPI_ResultPart> ResultPartPtr;