1 // File: ModelAPI_ResultPart.h
2 // Created: 07 Jul 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef ModelAPI_ResultPart_HeaderFile
6 #define ModelAPI_ResultPart_HeaderFile
8 #include "ModelAPI_Result.h"
10 /**\class ModelAPI_ResultPart
12 * \brief The Part document, result of a creation of new part feature.
14 * This result leaves without feature: no parametricity for this element,
15 * only add/remove, undo/redo.
17 class ModelAPI_ResultPart : public ModelAPI_Result
20 /// Returns the group identifier of this result
21 virtual std::string groupName()
24 /// Returns the group identifier of this result
25 static std::string group()
26 {static std::string MY_GROUP = "Parts"; return MY_GROUP;}
28 /// Returns the part-document of this result
29 virtual boost::shared_ptr<ModelAPI_Document> partDoc() = 0;
32 //! Pointer on feature object
33 typedef boost::shared_ptr<ModelAPI_ResultPart> ResultPartPtr;