X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultPart.h;h=ce1ea03af1c9ad6c4a0a79b4670e0d96b39e02eb;hb=b52164791e6cc6cdc2c009c7ef6667d9f476d3aa;hp=f0db94ee31b44cc9a6fd52207d1c5016020e68a2;hpb=35a88fdd724349275bbff32b9596a44e7cd422e2;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultPart.h b/src/ModelAPI/ModelAPI_ResultPart.h index f0db94ee3..ce1ea03af 100644 --- a/src/ModelAPI/ModelAPI_ResultPart.h +++ b/src/ModelAPI/ModelAPI_ResultPart.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_ResultPart.h // Created: 07 Jul 2014 // Author: Mikhail PONIKAROV @@ -44,6 +46,9 @@ class ModelAPI_ResultPart : public ModelAPI_Result /// Sets this document as current and if it is not loaded yet, loads it virtual void activate() = 0; + + /// Returns true if document is activated (loaded into the memory) + virtual bool isActivated() = 0; }; //! Pointer on feature object