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
Merge branch 'Dev_1.1.0' of newgeom:newgeom.git into Dev_1.1.0
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_ResultGroup.h
diff --git
a/src/ModelAPI/ModelAPI_ResultGroup.h
b/src/ModelAPI/ModelAPI_ResultGroup.h
index a8b183c12c62f4b10643f3a92650a7256a1572f3..365445f4d6d3c30edb6ff214f4104a55345d870a 100644
(file)
--- a/
src/ModelAPI/ModelAPI_ResultGroup.h
+++ b/
src/ModelAPI/ModelAPI_ResultGroup.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModelAPI_ResultGroup.hxx
// Created: 07 Jul 2014
// Author: Mikhail PONIKAROV
// File: ModelAPI_ResultGroup.hxx
// Created: 07 Jul 2014
// Author: Mikhail PONIKAROV
@@
-7,7
+9,7
@@
#include "ModelAPI_Result.h"
#include <GeomAPI_Shape.h>
#include "ModelAPI_Result.h"
#include <GeomAPI_Shape.h>
-#include <
boost/shared_ptr.hpp
>
+#include <
memory
>
#include <string>
/**\class ModelAPI_ResultGroup
#include <string>
/**\class ModelAPI_ResultGroup
@@
-19,24
+21,20
@@
class ModelAPI_ResultGroup : public ModelAPI_Result
{
public:
class ModelAPI_ResultGroup : public ModelAPI_Result
{
public:
+ MODELAPI_EXPORT virtual ~ModelAPI_ResultGroup();
/// Returns the group identifier of this result
/// Returns the group identifier of this result
- virtual std::string groupName()
- {
- return group();
- }
+ MODELAPI_EXPORT virtual std::string groupName();
/// Returns the group identifier of this result
/// Returns the group identifier of this result
- static std::string group()
+
inline
static std::string group()
{
static std::string MY_GROUP = "Groups";
return MY_GROUP;
}
{
static std::string MY_GROUP = "Groups";
return MY_GROUP;
}
- /// Returns the compound of selected entities
- virtual boost::shared_ptr<GeomAPI_Shape> shape() const = 0;
};
//! Pointer on feature object
};
//! Pointer on feature object
-typedef
boost
::shared_ptr<ModelAPI_ResultGroup> ResultGroupPtr;
+typedef
std
::shared_ptr<ModelAPI_ResultGroup> ResultGroupPtr;
#endif
#endif