X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeRefAttr.h;h=49337e695a9e7ebae3b79a944271b6a3d2b72f52;hb=5303dd1fa6ad4411e38f8d36103c72109957e05c;hp=1833d3eb9f255c165b533f4966a01b1c16b0c298;hpb=9e869ede4d8c56262bb20534543c2bf56cd6a91b;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeRefAttr.h b/src/Model/Model_AttributeRefAttr.h index 1833d3eb9..49337e695 100644 --- a/src/Model/Model_AttributeRefAttr.h +++ b/src/Model/Model_AttributeRefAttr.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: Model_AttributeRefAttr.h // Created: 8 May 2014 // Author: Mikhail PONIKAROV @@ -38,6 +40,9 @@ class Model_AttributeRefAttr : public ModelAPI_AttributeRefAttr /// Returns object referenced from this attribute MODEL_EXPORT virtual ObjectPtr object(); + /// Returns true if attribute was initialized by some value + MODEL_EXPORT virtual bool isInitialized(); + protected: /// Objects are created for features automatically MODEL_EXPORT Model_AttributeRefAttr(TDF_Label& theLabel);