X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeBoolean.h;h=122ffa70fdf700a67eb5c653e32a94005ca3da9e;hb=074b1d850036614d4a08999c4bc4e8630db63d2b;hp=2612e0eed431e900461d31477d3823bb727dfe8b;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeBoolean.h b/src/ModelAPI/ModelAPI_AttributeBoolean.h index 2612e0eed..122ffa70f 100644 --- a/src/ModelAPI/ModelAPI_AttributeBoolean.h +++ b/src/ModelAPI/ModelAPI_AttributeBoolean.h @@ -1,9 +1,11 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_AttributeBoolean.h // Created: 2 june 2014 // Author: Vitaly Smetannikov -#ifndef ModelAPI_AttributeBoolean_H_ -#define ModelAPI_AttributeBoolean_H_ +#ifndef MODELAPI_ATTRIBUTEBOOLEAN_H_ +#define MODELAPI_ATTRIBUTEBOOLEAN_H_ #include "ModelAPI_Attribute.h" @@ -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