Version: 9.15.0
ParserResourcesType Class Reference

#include <SALOME_ResourcesCatalog_Parser.hxx>

Public Member Functions

 ParserResourcesType ()
 
virtual ~ParserResourcesType ()
 
std::string getAccessProtocolTypeStr () const
 
std::string getResourceTypeStr () const
 
std::string getBatchTypeStr () const
 
std::string getMpiImplTypeStr () const
 
std::string getClusterInternalProtocolStr () const
 
std::string getCanLaunchBatchJobsStr () const
 
std::string getCanRunContainersStr () const
 
void setAccessProtocolTypeStr (const std::string &protocolTypeStr)
 
void setResourceTypeStr (const std::string &resourceTypeStr)
 
void setBatchTypeStr (const std::string &batchTypeStr)
 
void setMpiImplTypeStr (const std::string &mpiImplTypeStr)
 
void setClusterInternalProtocolStr (const std::string &internalProtocolTypeStr)
 
void setCanLaunchBatchJobsStr (const std::string &canLaunchBatchJobsStr)
 
void setCanRunContainersStr (const std::string &canRunContainersStr)
 
std::string dump (char sep) const
 

Data Fields

ResourceDataToSort DataForSort
 
std::string Name
 
std::string HostName
 
AccessProtocolType Protocol
 
AccessProtocolType ClusterInternalProtocol
 
ResourceType type
 
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< ParserResourcesTypeClusterMembersList
 
unsigned int nbOfProc
 
bool can_launch_batch_jobs
 
bool can_run_containers
 
std::string working_directory
 

Static Protected Member Functions

static std::string protocolToString (AccessProtocolType protocol)
 
static AccessProtocolType stringToProtocol (const std::string &protocolStr)
 

Friends

std::ostream & operator<< (std::ostream &os, const ParserResourcesType &rt)
 

Constructor & Destructor Documentation

◆ ParserResourcesType()

◆ ~ParserResourcesType()

ParserResourcesType::~ParserResourcesType ( )
virtual

Member Function Documentation

◆ dump()

◆ getAccessProtocolTypeStr()

◆ getBatchTypeStr()

std::string ParserResourcesType::getBatchTypeStr ( ) const

◆ getCanLaunchBatchJobsStr()

string ParserResourcesType::getCanLaunchBatchJobsStr ( ) const

◆ getCanRunContainersStr()

string ParserResourcesType::getCanRunContainersStr ( ) const

◆ getClusterInternalProtocolStr()

std::string ParserResourcesType::getClusterInternalProtocolStr ( ) const

◆ getMpiImplTypeStr()

std::string ParserResourcesType::getMpiImplTypeStr ( ) const

◆ getResourceTypeStr()

std::string ParserResourcesType::getResourceTypeStr ( ) const

◆ protocolToString()

std::string ParserResourcesType::protocolToString ( AccessProtocolType  protocol)
staticprotected

◆ setAccessProtocolTypeStr()

void ParserResourcesType::setAccessProtocolTypeStr ( const std::string &  protocolTypeStr)

◆ setBatchTypeStr()

void ParserResourcesType::setBatchTypeStr ( const std::string &  batchTypeStr)

◆ setCanLaunchBatchJobsStr()

void ParserResourcesType::setCanLaunchBatchJobsStr ( const std::string &  canLaunchBatchJobsStr)

◆ setCanRunContainersStr()

void ParserResourcesType::setCanRunContainersStr ( const std::string &  canRunContainersStr)

◆ setClusterInternalProtocolStr()

void ParserResourcesType::setClusterInternalProtocolStr ( const std::string &  internalProtocolTypeStr)

◆ setMpiImplTypeStr()

void ParserResourcesType::setMpiImplTypeStr ( const std::string &  mpiImplTypeStr)

◆ setResourceTypeStr()

void ParserResourcesType::setResourceTypeStr ( const std::string &  resourceTypeStr)

◆ stringToProtocol()

AccessProtocolType ParserResourcesType::stringToProtocol ( const std::string &  protocolStr)
staticprotected

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const ParserResourcesType rt 
)
friend

Field Documentation

◆ AppliPath

◆ Batch

BatchType ParserResourcesType::Batch

◆ batchQueue

std::string ParserResourcesType::batchQueue

◆ can_launch_batch_jobs

◆ can_run_containers

◆ ClusterInternalProtocol

◆ ClusterMembersList

std::list<ParserResourcesType> ParserResourcesType::ClusterMembersList

◆ ComponentsList

std::vector<std::string> ParserResourcesType::ComponentsList

◆ DataForSort

◆ HostName

◆ ModulesList

std::vector<std::string> ParserResourcesType::ModulesList

◆ mpi

◆ Name

◆ nbOfProc

unsigned int ParserResourcesType::nbOfProc

◆ OS

◆ Protocol

◆ type

◆ use

std::string ParserResourcesType::use

◆ userCommands

std::string ParserResourcesType::userCommands

◆ UserName

◆ working_directory