OpendTect-6_4
6.4
|
Public Member Functions | |
void | addFactory (uiSetupGrpCreationFunc f, const char *name) |
uiSetupGroup * | create (const char *nm, uiParent *, const char *typestr) |
Protected Attributes | |
BufferStringSet | names_ |
TypeSet< uiSetupGrpCreationFunc > | funcs |
Factory that is able to create MPE::uiSetupGroup* given a uiParent*, and an Attrib::DescSet*. Each class that wants to be able to procuce instances of itself must register itself with the addFactory startup.
void MPE::uiSetupGroupFactory::addFactory | ( | uiSetupGrpCreationFunc | f, |
const char * | name | ||
) |
uiSetupGroup* MPE::uiSetupGroupFactory::create | ( | const char * | nm, |
uiParent * | , | ||
const char * | typestr | ||
) |
Iterates through all added factory functions until one of the returns a non-zero pointer.
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019