X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultConstruction.cpp;h=aaade70ff23d3364b2fb930b5c1bc61081d5eac2;hb=9c54fb01877c455abb5b5ff22e384468f795b328;hp=8d230ab37c13f2881717dced37421cfd825fbe6c;hpb=3985b767e74385e51d1b503d2c97d3bb1e3f6faa;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultConstruction.cpp b/src/Model/Model_ResultConstruction.cpp index 8d230ab37..aaade70ff 100644 --- a/src/Model/Model_ResultConstruction.cpp +++ b/src/Model/Model_ResultConstruction.cpp @@ -1,25 +1,28 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_ResultConstruction.cpp // Created: 07 Jul 2014 // Author: Mikhail PONIKAROV #include -void Model_ResultConstruction::setShape(boost::shared_ptr theShape) +void Model_ResultConstruction::setShape(std::shared_ptr theShape) { myShape = theShape; } -boost::shared_ptr& Model_ResultConstruction::shape() +std::shared_ptr Model_ResultConstruction::shape() { return myShape; } -/* -boost::shared_ptr Model_ResultConstruction::owner() +Model_ResultConstruction::Model_ResultConstruction() { - return myOwner; -}*/ + myIsInHistory = true; + setIsConcealed(false); +} -Model_ResultConstruction::Model_ResultConstruction() +void Model_ResultConstruction::setIsInHistory(const bool isInHistory) { + myIsInHistory = isInHistory; }