Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Separate definition from declaration for each ModelAPI class
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_AttributeBoolean.h
diff --git
a/src/ModelAPI/ModelAPI_AttributeBoolean.h
b/src/ModelAPI/ModelAPI_AttributeBoolean.h
index dcd76efc7a9b7184de03fe8cbcf42c25899f0ab8..122ffa70fdf700a67eb5c653e32a94005ca3da9e 100644
(file)
--- 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
// 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
}
/// 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
/// To virtually destroy the fields of successors
- MODELAPI_EXPORT virtual ~ModelAPI_AttributeBoolean()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeBoolean();
protected:
/// Objects are created for features automatically
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeBoolean()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeBoolean();
};
};
+typedef std::shared_ptr<ModelAPI_AttributeBoolean> AttributeBooleanPtr;
+
#endif
#endif