#include <string>
#include <vector>
+#include <list>
#include <map>
#include <iostream>
unsigned int GetNumberOfPoints() const;
};
+struct RESOURCESMANAGER_EXPORT ParserResourcesClusterMembersType
+{
+ std::string HostName;
+ AccessProtocolType Protocol;
+ std::string UserName;
+ std::string AppliPath;
+ ResourceDataToSort DataForSort;
+};
+
struct RESOURCESMANAGER_EXPORT ParserResourcesType
- {
- ResourceDataToSort DataForSort;
- std::string HostName;
- std::string Alias;
- AccessProtocolType Protocol;
- AccessModeType Mode;
- BatchType Batch;
- MpiImplType mpi;
- std::string UserName;
- std::string AppliPath;
- std::vector<std::string> ComponentsList;
- std::vector<std::string> ModulesList;
- std::string OS;
- std::string batchQueue;
- std::string userCommands;
+{
+ ResourceDataToSort DataForSort;
+ std::string HostName;
+ std::string Alias;
+ AccessProtocolType Protocol;
+ AccessModeType Mode;
+ BatchType Batch;
+ MpiImplType mpi;
+ std::string UserName;
+ std::string AppliPath;
+ std::vector<std::string> ComponentsList;
+ std::vector<std::string> ModulesList;
+ std::string OS;
+ std::string batchQueue;
+ std::string userCommands;
+ std::string use;
+ std::list<ParserResourcesClusterMembersType> ClusterMembersList;
+ unsigned int nbOfProc;
- void Print() const;
- void Clear();
- };
+ void Print();
+ void Clear();
+};
typedef std::map<std::string, ParserResourcesType> MapOfParserResourcesType;
+typedef std::map<std::string, ParserResourcesType>::iterator MapOfParserResourcesType_it;
#endif //SALOME_RESOURCES_CATALOG_PARSER