+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModelAPI_ResultGroup.hxx
// Created: 07 Jul 2014
// Author: Mikhail PONIKAROV
#include "ModelAPI_Result.h"
#include <GeomAPI_Shape.h>
-#include <boost/shared_ptr.hpp>
+#include <memory>
#include <string>
/**\class ModelAPI_ResultGroup
class ModelAPI_ResultGroup : public ModelAPI_Result
{
public:
+ MODELAPI_EXPORT virtual ~ModelAPI_ResultGroup();
/// 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
- static std::string group()
+ inline static std::string group()
{
static std::string MY_GROUP = "Groups";
return MY_GROUP;
}
+ /// default color for a result body
+ inline static const std::string& DEFAULT_COLOR()
+ {
+ static const std::string RESULT_GROUP_COLOR("150,150,180");
+ return RESULT_GROUP_COLOR;
+ }
+
};
//! Pointer on feature object
-typedef boost::shared_ptr<ModelAPI_ResultGroup> ResultGroupPtr;
+typedef std::shared_ptr<ModelAPI_ResultGroup> ResultGroupPtr;
#endif