OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
HostDataList Class Reference

List of host names in the system. The first entry will be the local host. More...

Inheritance diagram for HostDataList:
[legend]

Protected Member Functions

void handleLocal ()
 
void initDataRoot ()
 
bool readHostFile (const char *)
 
bool readOldHostFile (const char *)
 
HostDatafindHost (const char *) const
 
- Protected Member Functions inherited from ObjectSet< HostData >
virtual ObjectSet< HostData > & doAdd (HostData *)
 

Protected Attributes

BufferString logincmd_
 
int nicelvl_
 
int firstport_
 
BufferString win_appl_pr_
 
BufferString unx_appl_pr_
 
BufferString win_data_pr_
 
BufferString unx_data_pr_
 
BufferString batchhostsfnm_
 
- Protected Attributes inherited from ObjectSet< HostData >
VectorAccess< void *, size_typevec_
 
bool allow0_
 

Private Member Functions

mODTextTranslationClass(HostDataList) public void setNiceLevel (int)
 
int niceLevel () const
 
void setFirstPort (int)
 
int firstPort () const
 
void setLoginCmd (const char *)
 
const char * loginCmd () const
 
void setUnixDataRoot (const char *)
 
const char * unixDataRoot () const
 
void setWinDataRoot (const char *)
 
const char * winDataRoot () const
 
bool refresh (bool foredit=false)
 
HostDatafind (const char *nm)
 
const HostDatafind (const char *nm) const
 
void fill (BufferStringSet &, bool inclocalhost=true) const
 
void dump (od_ostream &) const
 
const char * getBatchHostsFilename () const
 
bool writeHostFile (const char *fnm)
 
void fillFromNetwork ()
 
bool isOK (uiStringSet &) const
 

Additional Inherited Members

- Public Types inherited from ManagedObjectSet< HostData >
typedef int size_type
 
typedef HostData object_type
 
- Public Types inherited from ObjectSet< HostData >
typedef int size_type
 
typedef HostData object_type
 
- Public Member Functions inherited from ManagedObjectSet< HostData >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet< HostData > &)
 
virtual ~ManagedObjectSet ()
 
ManagedObjectSet< HostData > & operator= (const ObjectSet< HostData > &)
 
ManagedObjectSet< HostData > & operator= (const ManagedObjectSet< HostData > &)
 
virtual bool isManaged () const
 
virtual void erase ()
 
virtual void append (const ObjectSet< HostData > &)
 
virtual void removeRange (size_type, size_type)
 
virtual HostDataremoveSingle (int idx, bool kporder=true)
 
virtual HostDataremoveAndTake (int idx, bool kporder=true)
 
virtual HostDatareplace (int idx, HostData *)
 
virtual ManagedObjectSet< HostData > & operator-= (HostData *)
 
- Public Member Functions inherited from ObjectSet< HostData >
 ObjectSet ()
 
 ObjectSet (const ObjectSet< HostData > &)
 
virtual ~ObjectSet ()
 
ObjectSet< HostData > & operator= (const ObjectSet< HostData > &)
 
bool nullAllowed () const
 
void allowNull (bool yn=true)
 
size_type size () const
 
virtual int64_t nrItems () const
 
virtual HostDataoperator[] (size_type)
 
virtual const HostDataoperator[] (size_type) const
 
virtual HostDataoperator[] (const HostData *) const
 check & unconst More...
 
virtual bool validIdx (int64_t) const
 
virtual bool isPresent (const HostData *) const
 
virtual size_type indexOf (const HostData *) const
 
HostDatafirst ()
 
const HostDatafirst () const
 
HostDatalast ()
 
const HostDatalast () const
 
ObjectSet< HostData > & add (HostData *t)
 
ObjectSet< HostData > & operator+= (HostData *t)
 
void push (HostData *t)
 
bool addIfNew (HostData *)
 
virtual void insertAt (HostData *newptr, size_type)
 
virtual void insertAfter (HostData *newptr, size_type)
 
virtual void copy (const ObjectSet< HostData > &)
 
virtual void swap (int64_t, int64_t)
 
virtual void reverse ()
 
virtual HostDatapop ()
 
void plainErase ()
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Detailed Description

List of host names in the system. The first entry will be the local host.

Member Function Documentation

void HostDataList::dump ( od_ostream ) const
private
void HostDataList::fill ( BufferStringSet ,
bool  inclocalhost = true 
) const
private
void HostDataList::fillFromNetwork ( )
private
HostData* HostDataList::find ( const char *  nm)
inlineprivate
const HostData* HostDataList::find ( const char *  nm) const
inlineprivate
HostData* HostDataList::findHost ( const char *  ) const
protected
int HostDataList::firstPort ( ) const
private
const char* HostDataList::getBatchHostsFilename ( ) const
private
void HostDataList::handleLocal ( )
protected
void HostDataList::initDataRoot ( )
protected
bool HostDataList::isOK ( uiStringSet ) const
private
const char* HostDataList::loginCmd ( ) const
private
int HostDataList::niceLevel ( ) const
private
bool HostDataList::readHostFile ( const char *  )
protected
bool HostDataList::readOldHostFile ( const char *  )
protected
bool HostDataList::refresh ( bool  foredit = false)
private
void HostDataList::setFirstPort ( int  )
private
void HostDataList::setLoginCmd ( const char *  )
private
mODTextTranslationClass (HostDataList) public void HostDataList::setNiceLevel ( int  )
private
void HostDataList::setUnixDataRoot ( const char *  )
private
void HostDataList::setWinDataRoot ( const char *  )
private
const char* HostDataList::unixDataRoot ( ) const
private
const char* HostDataList::winDataRoot ( ) const
private
bool HostDataList::writeHostFile ( const char *  fnm)
private

Member Data Documentation

BufferString HostDataList::batchhostsfnm_
protected
int HostDataList::firstport_
protected
BufferString HostDataList::logincmd_
protected
int HostDataList::nicelvl_
protected
BufferString HostDataList::unx_appl_pr_
protected
BufferString HostDataList::unx_data_pr_
protected
BufferString HostDataList::win_appl_pr_
protected
BufferString HostDataList::win_data_pr_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019