DDS  ver. 3.6
Classes | Public Member Functions | Static Public Member Functions | List of all members
dds::CSSHConfigFile Class Reference

Reads dds-ssh configuration file either from a text file or stream. More...

#include <SSHConfigFile.h>

Classes

struct  SImpl
 

Public Member Functions

 CSSHConfigFile (const std::string &_filepath)
 
 CSSHConfigFile (std::istream &_stream)
 
const configRecords_tgetRecords ()
 
const std::string & getBash ()
 

Static Public Member Functions

static void make (const std::string &_filepath, const configRecords_t &_records, const std::string &_bash="")
 
static void make (std::ostream &_stream, const configRecords_t &_records, const std::string &_bash="")
 
static void make (const std::string &_filepath, const std::vector< std::string > &_hosts, const std::string &_sshOptions="", const std::string &_wrkDir="/tmp/wn_dds", size_t _numSlots=1, const std::string &_bash="")
 
static void make (std::ostream &_stream, const std::vector< std::string > &_hosts, const std::string &_sshOptions="", const std::string &_wrkDir="/tmp/wn_dds", size_t _numSlots=1, const std::string &_bash="")
 

Detailed Description

Reads dds-ssh configuration file either from a text file or stream.

Constructor & Destructor Documentation

◆ CSSHConfigFile() [1/2]

CSSHConfigFile::CSSHConfigFile ( const std::string &  _filepath)

◆ CSSHConfigFile() [2/2]

CSSHConfigFile::CSSHConfigFile ( std::istream &  _stream)

Member Function Documentation

◆ getBash()

const string & CSSHConfigFile::getBash ( )

◆ getRecords()

const configRecords_t & CSSHConfigFile::getRecords ( )

◆ make() [1/4]

void CSSHConfigFile::make ( const std::string &  _filepath,
const configRecords_t _records,
const std::string &  _bash = "" 
)
static

◆ make() [2/4]

void CSSHConfigFile::make ( std::ostream &  _stream,
const configRecords_t _records,
const std::string &  _bash = "" 
)
static

◆ make() [3/4]

void CSSHConfigFile::make ( const std::string &  _filepath,
const std::vector< std::string > &  _hosts,
const std::string &  _sshOptions = "",
const std::string &  _wrkDir = "/tmp/wn_dds",
size_t  _numSlots = 1,
const std::string &  _bash = "" 
)
static

◆ make() [4/4]

static void dds::CSSHConfigFile::make ( std::ostream &  _stream,
const std::vector< std::string > &  _hosts,
const std::string &  _sshOptions = "",
const std::string &  _wrkDir = "/tmp/wn_dds",
size_t  _numSlots = 1,
const std::string &  _bash = "" 
)
static

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