OpendTect
7.0
|
Public Types | |
typedef OD::JSON::Array | JSONArray |
typedef OD::JSON::Object | JSONObject |
Public Member Functions | |
virtual | ~ServerProgTool () |
CommandLineParser & | clp () |
const CommandLineParser & | clp () const |
void | exitProgram (bool success) const |
void | exitWithUsage () const |
od_istream & | inStream () const |
mUseType (TypeSet< int >, size_type) | |
od_ostream & | outStream () const |
void | respondError (const char *) const |
void | respondError (const uiRetVal &) const |
void | respondInfo (bool success, bool exit=true) const |
void | set (const char *, const bool *, size_type, JSONObject *o=0) |
void | set (const char *keyw, bool, JSONObject *jobj=0) |
void | set (const char *keyw, const BoolTypeSet &, JSONObject *jobj=0) |
void | set (const char *keyw, const BufferStringSet &, JSONObject *jobj=0) |
void | set (const char *keyw, const char *, JSONObject *jobj=0) |
void | set (const char *keyw, const DBKey &, JSONObject *jobj=0) |
void | set (const char *keyw, const DBKeySet &, JSONObject *jobj=0) |
void | set (const char *keyw, const double *, size_type, JSONObject *jobj=0) |
void | set (const char *keyw, const float *, size_type, JSONObject *jobj=0) |
void | set (const char *keyw, const od_int16 *, size_type, JSONObject *jobj=0) |
void | set (const char *keyw, const od_int32 *, size_type, JSONObject *jobj=0) |
void | set (const char *keyw, const od_int64 *, size_type, JSONObject *jobj=0) |
void | set (const char *keyw, const od_uint16 *, size_type, JSONObject *jobj=0) |
void | set (const char *keyw, const od_uint32 *, size_type, JSONObject *jobj=0) |
void | set (const char *keyw, const TypeSet< double > &, JSONObject *jobj=0) |
void | set (const char *keyw, const TypeSet< float > &, JSONObject *jobj=0) |
void | set (const char *keyw, const TypeSet< od_int16 > &, JSONObject *jobj=0) |
void | set (const char *keyw, const TypeSet< od_int32 > &, JSONObject *jobj=0) |
void | set (const char *keyw, const TypeSet< od_int64 > &, JSONObject *jobj=0) |
void | set (const char *keyw, const TypeSet< od_uint16 > &, JSONObject *jobj=0) |
void | set (const char *keyw, const TypeSet< od_uint32 > &, JSONObject *jobj=0) |
void | set (const char *keyw, double, JSONObject *jobj=0) |
void | set (const char *keyw, float, JSONObject *jobj=0) |
void | set (const char *keyw, JSONArray *) |
void | set (const char *keyw, JSONObject *) |
void | set (const char *keyw, od_int16, JSONObject *jobj=0) |
void | set (const char *keyw, od_int32, JSONObject *jobj=0) |
void | set (const char *keyw, od_int64, JSONObject *jobj=0) |
void | set (const char *keyw, od_uint16, JSONObject *jobj=0) |
void | set (const char *keyw, od_uint32, JSONObject *jobj=0) |
void | setDBMDataSource () |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Static Public Member Functions | |
static const char * | sAllUsrCmd () |
static const char * | sExistsUsrCmd () |
static const char * | sInfoUsrCmd () |
static const char * | sKeyTransGrp (int n=1) |
static const char * | sListSurvCmd () |
static const char * | sListUsrCmd () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
ServerProgTool (int, char **, const char *moddep) | |
void | exitProgram (bool success) |
DBKey | getDBKey (const char *ky, bool mandatory=true) const |
BufferString | getKeyedArgStr (const char *ky, bool mandatory=true) const |
virtual BufferString | getSpecificUsage () const =0 |
void | initParsing (int protocolnr, bool setdatasrc=true) |
template<class T > | |
void | setArr (const char *, const T &, JSONObject *) |
template<class T > | |
void | setArr (const char *, const T *, size_type, JSONObject *) |
template<class T > | |
void | setSingle (const char *, T, JSONObject *) |
void | setStatus (bool) const |
void | timerTickCB (CallBacker *) |
Static Protected Member Functions | |
static void | addToUsageStr (BufferString &, const char *flg, const char *args, bool isextra=false) |
Protected Attributes | |
CommandLineParser * | clp_ |
IOPar | iop_ |
bool | jsonmode_ |
JSONObject & | jsonroot_ |
int | protocolnr_ = 0 |
int | retval_ = -1 |
Timer & | timer_ |
<>
|
virtual |
|
protected |
|
staticprotected |
|
inline |
|
inline |
|
protected |
void ServerProgTool::exitProgram | ( | bool | success | ) | const |
void ServerProgTool::exitWithUsage | ( | ) | const |
|
protected |
|
protected |
|
protectedpure virtual |
|
protected |
od_istream& ServerProgTool::inStream | ( | ) | const |
ServerProgTool::mUseType | ( | TypeSet< int > | , |
size_type | |||
) |
od_ostream& ServerProgTool::outStream | ( | ) | const |
void ServerProgTool::respondError | ( | const char * | ) | const |
void ServerProgTool::respondError | ( | const uiRetVal & | ) | const |
void ServerProgTool::respondInfo | ( | bool | success, |
bool | exit = true |
||
) | const |
|
inlinestatic |
void ServerProgTool::set | ( | const char * | , |
const bool * | , | ||
size_type | , | ||
JSONObject * | o = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
bool | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const BoolTypeSet & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const BufferStringSet & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const char * | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const DBKey & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const DBKeySet & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const double * | , | ||
size_type | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const float * | , | ||
size_type | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const od_int16 * | , | ||
size_type | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const od_int32 * | , | ||
size_type | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const od_int64 * | , | ||
size_type | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const od_uint16 * | , | ||
size_type | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const od_uint32 * | , | ||
size_type | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const TypeSet< double > & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const TypeSet< float > & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const TypeSet< od_int16 > & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const TypeSet< od_int32 > & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const TypeSet< od_int64 > & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const TypeSet< od_uint16 > & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
const TypeSet< od_uint32 > & | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
double | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
float | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
JSONArray * | |||
) |
void ServerProgTool::set | ( | const char * | keyw, |
JSONObject * | |||
) |
void ServerProgTool::set | ( | const char * | keyw, |
od_int16 | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
od_int32 | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
od_int64 | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
od_uint16 | , | ||
JSONObject * | jobj = 0 |
||
) |
void ServerProgTool::set | ( | const char * | keyw, |
od_uint32 | , | ||
JSONObject * | jobj = 0 |
||
) |
|
protected |
|
protected |
void ServerProgTool::setDBMDataSource | ( | ) |
|
protected |
|
protected |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024