-// Copyright (C) 2013 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2014 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#ifndef SIMANIO_ACTIVITY_H
#define SIMANIO_ACTIVITY_H
+#include "SimanIO.hxx"
+
#include "SimanIO_Document.hxx"
#include <string>
/**
* \brief Class for storage and store CFG file activity information.
*/
-class SimanIO_Activity {
+class SIMANIO_EXPORT SimanIO_Activity {
std::string myName; ///< name of the activity
std::string myModule; ///< module of the activity
typedef std::map<int, SimanIO_Document> ActivityDocuments;
SimanIO_Document& GetOrCreateDocument(const int theId);
//! Iterator for activity documents browsing
- class DocumentsIterator {
+ class SIMANIO_EXPORT DocumentsIterator {
ActivityDocuments::iterator myIter; ///< iterator by the documents of the activity
ActivityDocuments::const_iterator myEnd; ///< end iteration indicator
public: