OpendTect-6_4  6.4
Public Member Functions | Public Attributes | List of all members
Table::TargetInfo::Form Struct Reference

Specific form in which a piece of information can be found. More...

Inheritance diagram for Table::TargetInfo::Form:
[legend]

Public Member Functions

 Form (const char *nm, DataInpSpec *spec)
 
 Form (const char *nm, const DataInpSpec &spec)
 
 ~Form ()
 
Formadd (const DataInpSpec &spec)
 
Formadd (DataInpSpec *spec)
 
Formduplicate (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::Stringname () const
 
virtual const OD::StringannotName () 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< DataInpSpecspecs_
 

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
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

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" ) );

Constructor & Destructor Documentation

Table::TargetInfo::Form::Form ( const char *  nm,
DataInpSpec spec 
)
inline
Table::TargetInfo::Form::Form ( const char *  nm,
const DataInpSpec spec 
)
inline
Table::TargetInfo::Form::~Form ( )
inline

Member Function Documentation

Form& Table::TargetInfo::Form::add ( const DataInpSpec spec)
inline
Form& Table::TargetInfo::Form::add ( DataInpSpec spec)
inline
Form* Table::TargetInfo::Form::duplicate ( const char *  nm) const
inline

Member Data Documentation

ObjectSet<DataInpSpec> Table::TargetInfo::Form::specs_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019