![]() |
OpendTect
6.3
|
Specific form in which a piece of information can be found. More...
Public Member Functions | |
| Form (const char *nm, DataInpSpec *spec) | |
| Form (const char *nm, const 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=0) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual const OD::String & | name () const |
| virtual BufferString | getName () const |
| virtual void | setName (const char *nm) |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
Public Attributes | |
| ObjectSet< DataInpSpec > | specs_ |
Additional Inherited Members | |
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, PropertyRef::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. 2017