OpendTect-6_4
6.4
|
Base class for Factories ( Factory, Factory1Param, Factory2Param and Factory3Param. ) More...
Public Member Functions | |
virtual | ~FactoryBase () |
int | size () const |
bool | isEmpty () const |
bool | hasName (const char *n) |
const BufferStringSet & | getNames () const |
const uiStringSet & | getUserNames () const |
void | setDefaultName (int idx) |
const char * | getDefaultName () const |
BufferString & | errMsg () const |
const char * | currentName () const |
Static Public Member Functions | |
static char | cSeparator () |
Protected Member Functions | |
int | indexOf (const char *) const |
void | addNames (const char *, const uiString &) |
void | setNames (int, const char *, const uiString &) |
Protected Attributes | |
StaticStringManager | errmsgs_ |
StaticStringManager | currentname_ |
Private Attributes | |
BufferStringSet | names_ |
uiStringSet | usernames_ |
BufferStringSet | aliases_ |
BufferString | defaultname_ |
Base class for Factories ( Factory, Factory1Param, Factory2Param and Factory3Param. )
|
virtual |
|
protected |
|
inlinestatic |
const char* FactoryBase::currentName | ( | ) | const |
Is set only when calling the create- functions, so they can know what was requested.
BufferString& FactoryBase::errMsg | ( | ) | const |
Threadsafe, as each thread will have a different string returned.
const char* FactoryBase::getDefaultName | ( | ) | const |
const BufferStringSet& FactoryBase::getNames | ( | ) | const |
const uiStringSet& FactoryBase::getUserNames | ( | ) | const |
|
inline |
|
protected |
bool FactoryBase::isEmpty | ( | ) | const |
void FactoryBase::setDefaultName | ( | int | idx | ) |
idx refers to names in names_, or -1 for none
|
protected |
int FactoryBase::size | ( | ) | const |
|
private |
|
mutableprotected |
|
private |
|
mutableprotected |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019