SET(PROJECT_HEADERS
ModelAPI.h
- ModelAPI_Session.h
- ModelAPI_Plugin.h
- ModelAPI_Feature.h
- ModelAPI_CompositeFeature.h
- ModelAPI_Data.h
- ModelAPI_Object.h
- ModelAPI_Document.h
ModelAPI_Attribute.h
- ModelAPI_AttributeInteger.h
- ModelAPI_AttributeDouble.h
+ ModelAPI_AttributeBoolean.h
ModelAPI_AttributeDocRef.h
- ModelAPI_AttributeReference.h
+ ModelAPI_AttributeDouble.h
+ ModelAPI_AttributeInteger.h
ModelAPI_AttributeRefAttr.h
+ ModelAPI_AttributeReference.h
ModelAPI_AttributeRefList.h
- ModelAPI_AttributeBoolean.h
- ModelAPI_AttributeString.h
ModelAPI_AttributeSelection.h
ModelAPI_AttributeSelectionList.h
+ ModelAPI_AttributeString.h
+ ModelAPI_AttributeValidator.h
+ ModelAPI_CompositeFeature.h
+ ModelAPI_Data.h
+ ModelAPI_Document.h
ModelAPI_Events.h
- ModelAPI_Validator.h
+ ModelAPI_Feature.h
ModelAPI_FeatureValidator.h
+ ModelAPI_Object.h
+ ModelAPI_Plugin.h
+ ModelAPI_RefAttrValidator.h
ModelAPI_Result.h
ModelAPI_ResultBody.h
ModelAPI_ResultConstruction.h
- ModelAPI_ResultPart.h
- ModelAPI_ResultParameters.h
ModelAPI_ResultGroup.h
+ ModelAPI_ResultParameters.h
+ ModelAPI_ResultPart.h
ModelAPI_ResultValidator.h
- ModelAPI_AttributeValidator.h
+ ModelAPI_Session.h
ModelAPI_Tools.h
- ModelAPI_RefAttrValidator.h
+ ModelAPI_Validator.h
)
SET(PROJECT_SOURCES
+ ModelAPI_Attribute.cpp
+ ModelAPI_AttributeBoolean.cpp
+ ModelAPI_AttributeDocRef.cpp
+ ModelAPI_AttributeDouble.cpp
+ ModelAPI_AttributeInteger.cpp
+ ModelAPI_AttributeRefAttr.cpp
+ ModelAPI_AttributeReference.cpp
+ ModelAPI_AttributeRefList.cpp
+ ModelAPI_AttributeSelection.cpp
+ ModelAPI_AttributeSelectionList.cpp
+ ModelAPI_AttributeString.cpp
+ ModelAPI_CompositeFeature.cpp
+ ModelAPI_Data.cpp
+ ModelAPI_Document.cpp
ModelAPI_Events.cpp
ModelAPI_Feature.cpp
- ModelAPI_Session.cpp
- ModelAPI_Tools.cpp
ModelAPI_Object.cpp
+ ModelAPI_Plugin.cpp
ModelAPI_Result.cpp
- ModelAPI_ResultPart.cpp
+ ModelAPI_ResultBody.cpp
ModelAPI_ResultConstruction.cpp
- ModelAPI_CompositeFeature.cpp
+ ModelAPI_ResultGroup.cpp
+ ModelAPI_ResultPart.cpp
+ ModelAPI_Session.cpp
+ ModelAPI_Tools.cpp
)
SET(PROJECT_LIBRARIES
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_Attribute.cpp
+// Created: 2 Apr 2014
+// Author: Mikhail PONIKAROV
+
+#include <ModelAPI_Attribute.h>
+
+ModelAPI_Attribute::~ModelAPI_Attribute()
+{
+}
+
+ /// Sets the owner of this attribute
+void ModelAPI_Attribute::setObject(const std::shared_ptr<ModelAPI_Object>& theObject)
+{
+ myObject = theObject;
+}
+
+ /// Returns the owner of this attribute
+const std::shared_ptr<ModelAPI_Object>& ModelAPI_Attribute::owner() const
+{
+ return myObject;
+}
+
+ /// Returns true if attribute was initialized by some value
+bool ModelAPI_Attribute::isInitialized()
+{
+ return myIsInitialized;
+}
+
+void ModelAPI_Attribute::setInitialized()
+{
+ myIsInitialized = true;
+}
+
+void ModelAPI_Attribute::setIsArgument(const bool theFlag)
+{
+ myIsArgument = theFlag;
+}
+
+bool ModelAPI_Attribute::isArgument()
+{
+ return myIsArgument;
+}
+
+bool ModelAPI_Attribute::setImmutable(const bool theFlag)
+{
+ bool aResult = myIsImmutable;
+ myIsImmutable = theFlag;
+ return aResult;
+}
+
+bool ModelAPI_Attribute::isImmutable()
+{
+ return myIsImmutable;
+}
+
+const std::string& ModelAPI_Attribute::id() const
+{
+ return myID;
+}
+
+ModelAPI_Attribute::ModelAPI_Attribute()
+{
+ myIsInitialized = false;
+ myIsArgument = true;
+ myIsImmutable = false;
+}
+
+ /// Sets the ID of the attribute in Data (called from Data)
+void ModelAPI_Attribute::setID(const std::string theID)
+{
+ myID = theID;
+}
MODELAPI_EXPORT virtual std::string attributeType() = 0;
/// To virtually destroy the fields of successors
- MODELAPI_EXPORT virtual ~ModelAPI_Attribute()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_Attribute();
/// Sets the owner of this attribute
- MODELAPI_EXPORT virtual void setObject(const std::shared_ptr<ModelAPI_Object>& theObject)
- {
- myObject = theObject;
- }
+ MODELAPI_EXPORT virtual void setObject(const std::shared_ptr<ModelAPI_Object>& theObject);
/// Returns the owner of this attribute
- MODELAPI_EXPORT const std::shared_ptr<ModelAPI_Object>& owner() const
- {
- return myObject;
- }
+ MODELAPI_EXPORT const std::shared_ptr<ModelAPI_Object>& owner() const;
/// Returns true if attribute was initialized by some value
- MODELAPI_EXPORT bool isInitialized()
- {
- return myIsInitialized;
- }
+ MODELAPI_EXPORT bool isInitialized();
/// Makes attribute initialized
- MODELAPI_EXPORT void setInitialized()
- {
- myIsInitialized = true;
- }
+ MODELAPI_EXPORT void setInitialized();
/// Set this attribute is argument for result (change of this attribute requires update of result).
/// By default it is true.
- MODELAPI_EXPORT void setIsArgument(const bool theFlag)
- {
- myIsArgument = theFlag;
- }
+ MODELAPI_EXPORT void setIsArgument(const bool theFlag);
/// Returns true if attribute causes the result change
- MODELAPI_EXPORT bool isArgument()
- {
- return myIsArgument;
- }
+ MODELAPI_EXPORT bool isArgument();
/// Immutable argument can not be changed programaticaly (e.g. by constraint)
/// By default it is false.
/// Returns the previous state of the attribute's immutability.
- MODELAPI_EXPORT bool setImmutable(const bool theFlag)
- {
- bool aResult = myIsImmutable;
- myIsImmutable = theFlag;
- return aResult;
- }
+ MODELAPI_EXPORT bool setImmutable(const bool theFlag);
/// Returns true if can not be changed programaticaly
- MODELAPI_EXPORT bool isImmutable()
- {
- return myIsImmutable;
- }
+ MODELAPI_EXPORT bool isImmutable();
/// ID of the attribute in Data
- MODELAPI_EXPORT const std::string& id() const
- {
- return myID;
- }
+ MODELAPI_EXPORT const std::string& id() const;
protected:
/// Objects are created for features automatically
- ModelAPI_Attribute()
- {
- myIsInitialized = false;
- myIsArgument = true;
- myIsImmutable = false;
- }
+ ModelAPI_Attribute();
/// Sets the ID of the attribute in Data (called from Data)
- MODELAPI_EXPORT void setID(const std::string theID)
- {
- myID = theID;
- }
+ MODELAPI_EXPORT void setID(const std::string theID);
friend class Model_Data;
};
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeBoolean.cpp
+// Created: 2 june 2014
+// Author: Vitaly Smetannikov
+
+#include "ModelAPI_AttributeBoolean.h"
+
+std::string ModelAPI_AttributeBoolean::attributeType()
+{
+ return type();
+}
+
+/// To virtually destroy the fields of successors
+ModelAPI_AttributeBoolean::~ModelAPI_AttributeBoolean()
+{
+}
+
+ModelAPI_AttributeBoolean::ModelAPI_AttributeBoolean()
+{
+}
}
/// 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<ModelAPI_AttributeBoolean> AttributeBooleanPtr;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeDocRef.cpp
+// Created: 2 Apr 2014
+// Author: Mikhail PONIKAROV
+
+#include "ModelAPI_AttributeDocRef.h"
+
+std::string ModelAPI_AttributeDocRef::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeDocRef::~ModelAPI_AttributeDocRef()
+{
+}
+
+ModelAPI_AttributeDocRef::ModelAPI_AttributeDocRef()
+{
+}
}
/// 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_AttributeDocRef()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeDocRef();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeDocRef()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeDocRef();
};
typedef std::shared_ptr<ModelAPI_AttributeDocRef> AttributeDocRefPtr;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeDouble.cpp
+// Created: 2 Apr 2014
+// Author: Mikhail PONIKAROV
+
+#include "ModelAPI_AttributeDouble.h"
+
+std::string ModelAPI_AttributeDouble::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeDouble::~ModelAPI_AttributeDouble()
+{
+}
+
+ModelAPI_AttributeDouble::ModelAPI_AttributeDouble()
+{
+}
}
/// 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_AttributeDouble()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeDouble();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeDouble()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeDouble();
};
//! Pointer on double attribute
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeInteger.cpp
+// Created: 2 Apr 2014
+// Author: Mikhail PONIKAROV
+
+#include <ModelAPI_AttributeInteger.h>
+
+
+std::string ModelAPI_AttributeInteger::attributeType()
+{
+ return type();
+}
+
+/// To virtually destroy the fields of successors
+ModelAPI_AttributeInteger::~ModelAPI_AttributeInteger()
+{
+}
+
+ModelAPI_AttributeInteger::ModelAPI_AttributeInteger()
+{
+}
}
/// 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_AttributeInteger()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeInteger();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeInteger()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeInteger();
};
//! Pointer on double attribute
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeRefAttr.cpp
+// Created: 8 May 2014
+// Author: Mikhail PONIKAROV
+
+
+#include "ModelAPI_AttributeRefAttr.h"
+
+
+std::string ModelAPI_AttributeRefAttr::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeRefAttr::~ModelAPI_AttributeRefAttr()
+{
+}
+
+ModelAPI_AttributeRefAttr::ModelAPI_AttributeRefAttr()
+{
+}
}
/// 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_AttributeRefAttr()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeRefAttr();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeRefAttr()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeRefAttr();
};
typedef std::shared_ptr<ModelAPI_AttributeRefAttr> AttributeRefAttrPtr;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeRefList.cpp
+// Created: 8 May 2014
+// Author: Mikhail PONIKAROV
+
+
+#include "ModelAPI_AttributeRefList.h"
+
+std::string ModelAPI_AttributeRefList::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeRefList::~ModelAPI_AttributeRefList()
+{
+
+}
+
+ModelAPI_AttributeRefList::ModelAPI_AttributeRefList()
+{
+}
+
}
/// 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();
/// Appends the feature to the end of a list
MODELAPI_EXPORT virtual void append(ObjectPtr theObject) = 0;
/// Returns the referenced object by the zero-based index
MODELAPI_EXPORT virtual ObjectPtr object(const int theIndex) const = 0;
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeRefList();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeRefList()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeRefList();
+
};
typedef std::shared_ptr<ModelAPI_AttributeRefList> AttributeRefListPtr;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeReference.cpp
+// Created: 8 May 2014
+// Author: Mikhail PONIKAROV
+
+#include "ModelAPI_AttributeReference.h"
+
+std::string ModelAPI_AttributeReference::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeReference::~ModelAPI_AttributeReference()
+{
+}
+
+ModelAPI_AttributeReference::ModelAPI_AttributeReference()
+{
+}
}
/// 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_AttributeReference()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeReference();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeReference()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeReference();
};
typedef std::shared_ptr<ModelAPI_AttributeReference> AttributeReferencePtr;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeSelection.cpp
+// Created: 2 Oct 2014
+// Author: Mikhail PONIKAROV
+
+
+#include "ModelAPI_AttributeSelection.h"
+
+
+std::string ModelAPI_AttributeSelection::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeSelection::~ModelAPI_AttributeSelection()
+{
+}
+
+ModelAPI_AttributeSelection::ModelAPI_AttributeSelection()
+{
+}
}
/// Returns the type of this class of attributes, not static method
- virtual std::string attributeType()
- {
- return type();
- }
+ virtual std::string attributeType();
/// Returns a textual string of the selection
virtual std::string namingName() = 0;
virtual void selectSubShape(const std::string& theType, const std::string& theSubShapeName) = 0;
/// To virtually destroy the fields of successors
- virtual ~ModelAPI_AttributeSelection()
- {
- }
+ virtual ~ModelAPI_AttributeSelection();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeSelection()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeSelection();
};
//! Pointer on double attribute
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeSelectionList.cpp
+// Created: 22 Oct 2014
+// Author: Mikhail PONIKAROV
+
+
+#include "ModelAPI_AttributeSelectionList.h"
+
+std::string ModelAPI_AttributeSelectionList::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeSelectionList::~ModelAPI_AttributeSelectionList()
+{
+}
+
+MODELAPI_EXPORT ModelAPI_AttributeSelectionList::ModelAPI_AttributeSelectionList()
+{
+}
}
/// Returns the type of this class of attributes, not static method
- virtual std::string attributeType()
- {
- return type();
- }
+ virtual std::string attributeType();
/// To virtually destroy the fields of successors
- virtual ~ModelAPI_AttributeSelectionList()
- {
- }
+ virtual ~ModelAPI_AttributeSelectionList();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeSelectionList()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeSelectionList();
};
//! Pointer on double attribute
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_AttributeString.cpp
+// Created: 2 Apr 2014
+// Author: Mikhail PONIKAROV
+
+
+#include "ModelAPI_AttributeString.h"
+
+std::string ModelAPI_AttributeString::attributeType()
+{
+ return type();
+}
+
+ModelAPI_AttributeString::~ModelAPI_AttributeString()
+{
+}
+
+ModelAPI_AttributeString::ModelAPI_AttributeString()
+{
+}
}
/// 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_AttributeString()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_AttributeString();
protected:
/// Objects are created for features automatically
- MODELAPI_EXPORT ModelAPI_AttributeString()
- {
- }
+ MODELAPI_EXPORT ModelAPI_AttributeString();
};
//! Pointer on double attribute
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_Data.cpp
+// Created: 21 Mar 2014
+// Author: Mikhail PONIKAROV
+
+#include <ModelAPI_Data.h>
+
+ModelAPI_Data::~ModelAPI_Data()
+{
+}
+
+ModelAPI_Data::ModelAPI_Data()
+{
+}
virtual void erase() = 0;
/// To virtually destroy the fields of successors
- virtual ~ModelAPI_Data()
- {
- }
+ virtual ~ModelAPI_Data();
/// Stores the state of the object to execute it later accordingly
virtual void execState(const ModelAPI_ExecState theState) = 0;
std::list<std::pair<std::string, std::list<std::shared_ptr<ModelAPI_Object> > > >& theRefs) = 0;
protected:
/// Objects are created for features automatically
- ModelAPI_Data()
- {
- }
+ ModelAPI_Data();
};
typedef std::shared_ptr<ModelAPI_Data> DataPtr;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_Document.cpp
+// Created: 28 Feb 2014
+// Author: Mikhail PONIKAROV
+
+#include <ModelAPI_Document.h>
+
+ModelAPI_Document::~ModelAPI_Document()
+{
+}
+
+/// Only for SWIG wrapping it is here
+ModelAPI_Document::ModelAPI_Document()
+{
+}
virtual int size(const std::string& theGroupID, const bool theHidden = false) = 0;
/// To virtually destroy the fields of successors
- virtual ~ModelAPI_Document()
- {
- }
+ MODELAPI_EXPORT virtual ~ModelAPI_Document();
/// Creates a construction cresults
virtual std::shared_ptr<ModelAPI_ResultConstruction> createConstruction(
protected:
/// Only for SWIG wrapping it is here
- MODELAPI_EXPORT ModelAPI_Document()
- {
- }
+ MODELAPI_EXPORT ModelAPI_Document();
};
//! Pointer on document object
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_Plugin.cpp
+// Created: 31 Mar 2014
+// Author: Mikhail PONIKAROV
+
+#include "ModelAPI_Plugin.h"
+
+ModelAPI_Plugin::~ModelAPI_Plugin()
+{
+
+}
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModelAPI_Plugin.hxx
+// File: ModelAPI_Plugin.h
// Created: 31 Mar 2014
// Author: Mikhail PONIKAROV
virtual std::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID) = 0;
/// To virtually destroy the fields of successors
- virtual ~ModelAPI_Plugin()
- {
- }
+ virtual ~ModelAPI_Plugin();
};
#endif
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_ResultBody.cpp
+// Created: 07 Jul 2014
+// Author: Mikhail PONIKAROV
+
+#include "ModelAPI_ResultBody.h"
+
+ModelAPI_ResultBody::~ModelAPI_ResultBody()
+{
+
+}
+
+std::string ModelAPI_ResultBody::groupName()
+{
+ return group();
+}
+
class ModelAPI_ResultBody : public ModelAPI_Result
{
public:
+ MODELAPI_EXPORT virtual ~ModelAPI_ResultBody();
/// 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
inline static std::string group()
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_ResultGroup.cpp
+// Created: 07 Jul 2014
+// Author: Mikhail PONIKAROV
+
+#include "ModelAPI_ResultGroup.h"
+
+ModelAPI_ResultGroup::~ModelAPI_ResultGroup()
+{
+
+}
+
+std::string ModelAPI_ResultGroup::groupName()
+{
+ return group();
+}
+
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
inline static std::string group()