OpendTect-6_4
6.4
|
Host name and aliases. More...
Public Types | |
enum | PathType { Appl, Data } |
Public Member Functions | |
HostData (const char *nm) | |
HostData (const char *nm, const HostData &localhost, const OD::Platform &) | |
HostData (const HostData &) | |
virtual | ~HostData () |
void | setHostName (const char *) |
const char * | getHostName () const |
void | setIPAddress (const char *) |
const char * | getIPAddress () const |
int | nrAliases () const |
void | setAlias (const char *) |
const char * | alias (int idx) const |
bool | isKnownAs (const char *) const |
true if name or an alias matches More... | |
void | addAlias (const char *) |
only adds if !isKnownAs More... | |
BufferString | getFullDispString () const |
void | setPlatform (const OD::Platform &) |
const OD::Platform & | getPlatform () const |
bool | isWindows () const |
FilePath::Style | pathStyle () const |
const FilePath & | prefixFilePath (PathType) const |
As is on remote host. More... | |
const FilePath & | getDataRoot () const |
void | setDataRoot (const FilePath &) |
FilePath | convPath (PathType pt, const FilePath &, const HostData *from=0) const |
FilePath | convPath (PathType pt, const char *fn, const HostData *from=0) const |
void | setLocalHost (const HostData &hd) |
const HostData & | localHost () const |
bool | isOK (uiString &errmsg) const |
void | fillPar (IOPar &) const |
void | usePar (const IOPar &) |
Static Public Member Functions | |
static const char * | localHostName () |
shortcut to GetLocalHostName() More... | |
Protected Member Functions | |
HostData (const char *nm, const OD::Platform &) | |
void | init (const char *nm) |
Protected Attributes | |
BufferString | hostname_ |
BufferString | ipaddress_ |
BufferStringSet | aliases_ |
OD::Platform | platform_ |
FilePath | appl_pr_ |
FilePath | data_pr_ |
const HostData * | localhd_ |
Friends | |
class | HostDataList |
Host name and aliases.
enum HostData::PathType |
HostData::HostData | ( | const char * | nm | ) |
HostData::HostData | ( | const char * | nm, |
const HostData & | localhost, | ||
const OD::Platform & | |||
) |
HostData::HostData | ( | const HostData & | ) |
|
virtual |
|
protected |
void HostData::addAlias | ( | const char * | ) |
only adds if !isKnownAs
|
inline |
|
inline |
void HostData::fillPar | ( | IOPar & | ) | const |
const FilePath& HostData::getDataRoot | ( | ) | const |
BufferString HostData::getFullDispString | ( | ) | const |
const char* HostData::getHostName | ( | ) | const |
const char* HostData::getIPAddress | ( | ) | const |
const OD::Platform& HostData::getPlatform | ( | ) | const |
|
protected |
bool HostData::isKnownAs | ( | const char * | ) | const |
true if name or an alias matches
bool HostData::isOK | ( | uiString & | errmsg | ) | const |
bool HostData::isWindows | ( | ) | const |
|
inline |
|
static |
shortcut to GetLocalHostName()
|
inline |
FilePath::Style HostData::pathStyle | ( | ) | const |
void HostData::setAlias | ( | const char * | ) |
void HostData::setDataRoot | ( | const FilePath & | ) |
void HostData::setHostName | ( | const char * | ) |
void HostData::setIPAddress | ( | const char * | ) |
|
inline |
void HostData::setPlatform | ( | const OD::Platform & | ) |
void HostData::usePar | ( | const IOPar & | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019