Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes
ParserLauncherType Struct Reference

#include <SALOME_Launcher_Parser.hxx>

Collaboration diagram for ParserLauncherType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Print () const
void Clear ()

Public Attributes

std::map< std::string,
MachineParameters
MachinesList
std::string RefDirectory
long NbOfProcesses
std::vector< std::string > InputFile
std::vector< std::string > OutputFile
std::string Command

Detailed Description

Definition at line 45 of file SALOME_Launcher_Parser.hxx.


Member Function Documentation

Definition at line 70 of file SALOME_Launcher_Parser.cxx.

{
  MachinesList.clear();
  RefDirectory = "";
  NbOfProcesses = 1;
  InputFile.clear();
  OutputFile.clear();
  Command = "";
}

Here is the caller graph for this function:

void ParserLauncherType::Print ( ) const

Definition at line 44 of file SALOME_Launcher_Parser.cxx.

{
  std::ostringstream oss;
  oss << std::endl <<
    "RefDirectory: " << RefDirectory << std::endl << 
    "NbOfProcesses: " << NbOfProcesses << std::endl <<
    "InputFile: ";
  for(int i=0; i <InputFile.size();i++)
    oss << InputFile[i] << " ";
  oss << std::endl << "OutputFile: ";
  for(int i=0; i <OutputFile.size();i++)
    oss << OutputFile[i] << " ";
  oss << std::endl <<
    "Command: " << Command << std::endl <<
    "Machines: " << std::endl;

  std::cout << oss.str();

  std::map < std::string, MachineParameters >::const_iterator it;
  for(it=MachinesList.begin();it!=MachinesList.end();it++){
    std::cout << "  " << it->first;
    it->second.Print();
  }

}

Member Data Documentation

Definition at line 52 of file SALOME_Launcher_Parser.hxx.

std::vector<std::string> ParserLauncherType::InputFile

Definition at line 50 of file SALOME_Launcher_Parser.hxx.

Definition at line 47 of file SALOME_Launcher_Parser.hxx.

Definition at line 49 of file SALOME_Launcher_Parser.hxx.

std::vector<std::string> ParserLauncherType::OutputFile

Definition at line 51 of file SALOME_Launcher_Parser.hxx.

Definition at line 48 of file SALOME_Launcher_Parser.hxx.


The documentation for this struct was generated from the following files: