1 // File: Model_Object.cpp
2 // Created: 19 May 2014
3 // Author: Mikhail PONIKAROV
5 #include "Model_Object.h"
6 #include <TCollection_AsciiString.hxx>
8 boost::shared_ptr<ModelAPI_Feature> Model_Object::featureRef()
13 std::string Model_Object::getName()
15 return TCollection_AsciiString(myName->Get()).ToCString();
18 void Model_Object::setName(std::string theName)
20 myName->Set(theName.c_str());
23 Model_Object::Model_Object(boost::shared_ptr<ModelAPI_Feature> theRef,
24 Handle_TDataStd_Name theName)
25 : myRef(theRef), myName(theName)