X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FResourcesManager%2FSALOME_ResourcesCatalog_Parser.hxx;h=e4ad2d55f1b80723e31b95667ed11e54361c0e8c;hb=c758b97a71a49903e3a5a5e8996e25ead238b4e4;hp=95ff5968373760c6dfe174e13dc85012525a36e7;hpb=f464a8dab4fb05a38720c3fb6790117e9d5bb7b7;p=modules%2Fkernel.git diff --git a/src/ResourcesManager/SALOME_ResourcesCatalog_Parser.hxx b/src/ResourcesManager/SALOME_ResourcesCatalog_Parser.hxx index 95ff59683..e4ad2d55f 100755 --- a/src/ResourcesManager/SALOME_ResourcesCatalog_Parser.hxx +++ b/src/ResourcesManager/SALOME_ResourcesCatalog_Parser.hxx @@ -32,6 +32,7 @@ #include #include +#include #include #include @@ -71,27 +72,40 @@ class RESOURCESMANAGER_EXPORT ResourceDataToSort 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 ComponentsList; - std::vector 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 ComponentsList; + std::vector ModulesList; + std::string OS; + std::string batchQueue; + std::string userCommands; + std::string use; + std::list ClusterMembersList; + unsigned int nbOfProc; - void Print() const; - void Clear(); - }; + void Print(); + void Clear(); +}; typedef std::map MapOfParserResourcesType; +typedef std::map::iterator MapOfParserResourcesType_it; #endif //SALOME_RESOURCES_CATALOG_PARSER