Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CharStr Class Reference

#include <charstr.h>

List of all members.

Public Methods

 CharStr (const char *s, char type=STR_DYNAMIC)
 CharStr (const char *s, int len)
 CharStr (double d)
 ~CharStr ()
void stored ()
void released ()

Static Public Methods

CharStr * create (const char *s)
int init_static ()

Public Attributes

const char * str

Static Public Attributes

CharStr * Error

Private Methods

 CharStr ()

Private Attributes

int store_counter


Constructor & Destructor Documentation

CharStr::CharStr const char *    s,
char    type = STR_DYNAMIC
 

Definition at line 18 of file charstr.cpp.

References Error, store_counter, str, and STR_STATIC.

CharStr::CharStr const char *    s,
int    len
 

Definition at line 42 of file charstr.cpp.

References Error, store_counter, and str.

CharStr::CharStr double    d
 

Definition at line 60 of file charstr.cpp.

References store_counter, and str.

CharStr::~CharStr  
 

Definition at line 72 of file charstr.cpp.

References DBUG_PRINT, store_counter, and str.

CharStr::CharStr   [inline, private]
 

Definition at line 73 of file charstr.h.


Member Function Documentation

CharStr* CharStr::create const char *    s [inline, static]
 

Definition at line 61 of file charstr.h.

References Error.

Referenced by TaskStatus::argument(), TaskInfo::cpu(), SlaveInfo::cpu(), TaskFinish::data(), TaskEntry::data(), editTaskInfo(), TaskStatus::error(), JobId::JobId(), SoftwareInfo::name(), ReserveId::name(), JobId::name(), o2x(), TaskInfo::os(), SlaveInfo::os(), UserInfo::passwd(), XMLData::set(), XMLData::setAttrib(), XMLData::setTag(), XMLAttrib::setValue(), Master::sndSlaveStatus(), TaskInfo::TaskInfo(), TaskStatus::TaskStatus(), upgrade_slaves(), TaskInfo::url(), UserInfo::user(), TaskInfo::userData(), UserInfo::UserInfo(), SlaveInfo::version(), SoftwareInfo::version(), XMLAttrib::XMLAttrib(), and XMLData::XMLData().

int CharStr::init_static   [static]
 

Definition at line 11 of file charstr.cpp.

References Error, and STR_STATIC.

Referenced by XMLData::init_static(), and XMLAttrib::init_static().

void CharStr::released  
 

Definition at line 93 of file charstr.cpp.

References store_counter.

Referenced by TaskStatus::_cs_argument(), TaskInfo::_cs_cpu(), SlaveInfo::_cs_cpu(), TaskFinish::_cs_data(), TaskEntry::_cs_data(), TaskStatus::_cs_error(), SoftwareInfo::_cs_name(), ReserveId::_cs_name(), JobId::_cs_name(), JobIDTableEntry::_cs_name(), TaskInfo::_cs_os(), SlaveInfo::_cs_os(), UserInfo::_cs_passwd(), TaskInfo::_cs_url(), UserInfo::_cs_user(), JobEntry::_cs_user(), TaskInfo::_cs_userData(), SlaveInfo::_cs_version(), SoftwareInfo::_cs_version(), XMLData::add(), TaskStatus::argument(), TaskInfo::cpu(), SlaveInfo::cpu(), TaskFinish::data(), Master::dispatchMsg(), editSubElement(), editTaskInfo(), TaskStatus::error(), Master::msgJobCtrl_StopAllName(), Master::msgSlaveCtrl_Upgrade(), SoftwareInfo::name(), ReserveId::name(), JobId::name(), JobIDTableEntry::name(), ReserveId::operator=(), JobId::operator=(), operator>>(), TaskInfo::os(), SlaveInfo::os(), UserInfo::passwd(), XMLData::set(), XMLData::setAttrib(), XMLAttrib::setValue(), TaskInfo::url(), UserInfo::user(), TaskInfo::userData(), SlaveInfo::version(), SoftwareInfo::version(), JobEntry::~JobEntry(), JobId::~JobId(), JobIDTableEntry::~JobIDTableEntry(), Master::~Master(), ReserveId::~ReserveId(), SlaveInfo::~SlaveInfo(), SoftwareInfo::~SoftwareInfo(), TaskEntry::~TaskEntry(), TaskFinish::~TaskFinish(), TaskInfo::~TaskInfo(), TaskStatus::~TaskStatus(), UserInfo::~UserInfo(), XMLAttrib::~XMLAttrib(), and XMLData::~XMLData().

void CharStr::stored  
 

Definition at line 84 of file charstr.cpp.

References store_counter.

Referenced by TaskStatus::_cs_argument(), TaskInfo::_cs_cpu(), SlaveInfo::_cs_cpu(), TaskFinish::_cs_data(), TaskEntry::_cs_data(), TaskStatus::_cs_error(), SoftwareInfo::_cs_name(), ReserveId::_cs_name(), JobId::_cs_name(), JobIDTableEntry::_cs_name(), TaskInfo::_cs_os(), SlaveInfo::_cs_os(), UserInfo::_cs_passwd(), TaskInfo::_cs_url(), UserInfo::_cs_user(), JobEntry::_cs_user(), TaskInfo::_cs_userData(), SlaveInfo::_cs_version(), SoftwareInfo::_cs_version(), TaskStatus::argument(), TaskInfo::cpu(), SlaveInfo::cpu(), TaskFinish::data(), Master::dispatchMsg(), editSubElement(), editTaskInfo(), TaskStatus::error(), JobId::JobId(), Master::msgJobCtrl_StopAllName(), Master::msgSlaveCtrl_Upgrade(), SoftwareInfo::name(), ReserveId::name(), JobId::name(), JobIDTableEntry::name(), ReserveId::operator=(), JobId::operator=(), operator>>(), TaskInfo::os(), SlaveInfo::os(), UserInfo::passwd(), XMLData::prematureEnd(), XMLData::setAttrib(), XMLData::setTag(), XMLAttrib::setValue(), TaskEntry::TaskEntry(), TaskFinish::TaskFinish(), TaskInfo::TaskInfo(), TaskStatus::TaskStatus(), XMLData::unexpectedCharError(), TaskInfo::url(), UserInfo::user(), JobEntry::user(), TaskInfo::userData(), UserInfo::UserInfo(), SlaveInfo::version(), and SoftwareInfo::version().


Member Data Documentation

CharStr * CharStr::Error [static]
 

Definition at line 8 of file charstr.cpp.

Referenced by XMLData::add(), addTask(), CharStr(), Master::checkBufferedTasks(), Master::consoleInThread(), create(), TaskEntry::data(), Master::dispatchMsg(), editInputFile(), editIOFiles(), editOutputFileOrUtility(), editSubElement(), editTaskInfo(), event_task_status(), extract_datapathprefix(), extract_filesURL(), XMLAttrib::init_static(), init_static(), JobEntry::JobEntry(), JobId::JobId(), JobIDTableEntry::JobIDTableEntry(), Master::Master(), Master::matchURL(), Master::msgSlaveCtrl_Upgrade(), Slave::msgTaskInit(), Master::msgTaskInit_Normal(), Master::msgTaskInit_Reserve(), o2x(), operator>>(), XMLData::print(), process_utilities(), ReserveId::ReserveId(), SlaveInfo::SlaveInfo(), Master::sndSlaveCtrl(), Master::sndTaskCtrl(), Master::sndTaskInit(), SoftwareInfo::SoftwareInfo(), startup(), submit_executable_task(), submit_library_task(), submit_or_reserve_task(), task_menu(), TaskFinish::TaskFinish(), TaskInfo::TaskInfo(), TaskStatus::TaskStatus(), Master::upgradeSlave(), UserInfo::UserInfo(), x2o(), and XMLData::XMLData().

int CharStr::store_counter [private]
 

Definition at line 17 of file charstr.h.

Referenced by CharStr(), released(), stored(), and ~CharStr().

const char* CharStr::str
 

Definition at line 22 of file charstr.h.

Referenced by PostOffice::_send(), TaskStatus::argument(), CharStr(), Master::checkUser(), Client::clientOff(), Client::clientOn(), convert_unit(), copyTask(), TaskInfo::cpu(), SlaveInfo::cpu(), TaskFinish::data(), TaskEntry::data(), Slave::dispatchMsg(), Master::dispatchMsg(), XMLAttrib::doubleValue(), editInputFile(), editIOFiles(), editOutputFileOrUtility(), editSubElement(), editTask(), editTaskInfo(), editTaskInfos(), XMLData::equals(), TaskStatus::error(), event_slave_avail(), extract_datapathprefix(), extract_filesURL(), XMLData::getAttrib(), XMLData::getDouble(), XMLData::getLong(), XMLData::getXMLAttrib(), PostOffice::inbox(), XMLAttrib::longValue(), main(), main_menu(), Master::matchURL(), Master::msgClientStatus(), Master::msgJobCtrl(), Master::msgJobCtrl_StopAllName(), Master::msgJobCtrl_StopAllUser(), Slave::msgSlaveCtrl(), Master::msgSlaveCtrl_Upgrade(), Master::msgSlaveStatus(), Master::msgSlaveStatus_Ready(), Slave::msgTaskCtrl(), Master::msgTaskCtrl(), Slave::msgTaskInit(), Master::msgTaskInit(), Master::msgTaskStatus(), Master::msgTaskStatus_Crashed(), Master::msgTaskStatus_Ok(), Master::msgTaskStatus_Refused(), Master::msgTaskStatus_Started(), msgType(), SoftwareInfo::name(), ReserveId::name(), JobId::name(), JobIDTableEntry::name(), newTaskId(), operator>>(), TaskInfo::os(), SlaveInfo::os(), UserInfo::passwd(), XMLData::print(), process_utilities(), PostOffice::put_back(), XMLData::remove(), XMLData::removeAll(), XMLData::removeAttrib(), removeTask(), send_reservation(), XMLData::setAttrib(), Client::slaveReserve(), startup(), state2str(), XMLData::sub(), XMLData::sub_internal(), XMLData::subAll(), XMLData::subCount(), submit_executable_task(), submit_library_task(), submit_or_reserve_task(), task_menu(), upgrade_slaves(), Master::upgradeSlave(), TaskInfo::url(), UserInfo::user(), JobEntry::user(), TaskInfo::userData(), Master::verifyUserPswd(), SlaveInfo::version(), SoftwareInfo::version(), Client::waitMaster(), x2o(), and ~CharStr().


The documentation for this class was generated from the following files:
Generated on Mon Nov 25 12:46:37 2002 for qadpz by doxygen1.2.18