OpendTect-6_4
6.4
|
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 *linkedto) | |
NamedObject (const NamedObject &) | |
virtual | ~NamedObject () |
void | setLinkedTo (NamedObject *) |
bool | operator== (const NamedObject &oth) const |
virtual const OD::String & | name () const |
virtual const OD::String & | annotName () const |
virtual void | setName (const char *) |
void | setCleanName (const char *) |
cleans string first More... | |
void | deleteNotify (const CallBack &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Public Attributes | |
ObjectSet< DataInpSpec > | specs_ |
Additional Inherited Members | |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
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. 2019