X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeBoolean.h;h=122ffa70fdf700a67eb5c653e32a94005ca3da9e;hb=d2b05bb423a04a927ad60dbb91d603ca90ef205f;hp=dcd76efc7a9b7184de03fe8cbcf42c25899f0ab8;hpb=d2d4d74fe59b3bd7ca2ec963fdcc871cc68b90d2;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeBoolean.h b/src/ModelAPI/ModelAPI_AttributeBoolean.h index dcd76efc7..122ffa70f 100644 --- a/src/ModelAPI/ModelAPI_AttributeBoolean.h +++ b/src/ModelAPI/ModelAPI_AttributeBoolean.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_AttributeBoolean.h // Created: 2 june 2014 // Author: Vitaly Smetannikov @@ -28,21 +30,16 @@ class ModelAPI_AttributeBoolean : public ModelAPI_Attribute } /// Returns the type of this class of attributes, not static method - MODELAPI_EXPORT virtual std::string attributeType() - { - return type(); - } + MODELAPI_EXPORT virtual std::string attributeType(); /// To virtually destroy the fields of successors - MODELAPI_EXPORT virtual ~ModelAPI_AttributeBoolean() - { - } + MODELAPI_EXPORT virtual ~ModelAPI_AttributeBoolean(); protected: /// Objects are created for features automatically - MODELAPI_EXPORT ModelAPI_AttributeBoolean() - { - } + MODELAPI_EXPORT ModelAPI_AttributeBoolean(); }; +typedef std::shared_ptr AttributeBooleanPtr; + #endif