OpendTect
7.0
|
Specific form in which a piece of information can be found. More...
Public Member Functions | |
Form (const char *nm, const DataInpSpec &spec) | |
Form (const char *nm, DataInpSpec *spec) | |
~Form () | |
Form & | add (const DataInpSpec &spec) |
Form & | add (DataInpSpec *spec) |
Form * | duplicate (const char *nm) const |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Public Attributes | |
ObjectSet< DataInpSpec > | specs_ |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Specific form in which a piece of information can be found.
In simple situations, the TargetInfo is defined by one form and you don't need to bother investigating this object.
Alas, for example an interval can be specified as either start/stop or start/width. Then you'd have to specify:
Table::TargetInfo sampinfspec( "Sampling info", form, Table::Required, Mnemonic::surveyZType() ); TargetInfo::Form* form = new TargetInfo::Form( "Start/Stop", FloatInpSpec() ); form->add( FloatInpSpec() ); sampinfspec.add( form->duplicate( "Start/Width" ) );
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ObjectSet<DataInpSpec> Table::TargetInfo::Form::specs_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024