OpendTect-6_4
6.4
|
Description of a Logical piece of information. More...
Classes | |
struct | Form |
Specific form in which a piece of information can be found. More... | |
struct | Selection |
Selected element/positioning This selects the specific form and where/how it can be found in the file, or explicit values for the form elements. More... | |
Public Member Functions | |
TargetInfo (const char *nm, ReqSpec rs=Optional) | |
TargetInfo (const char *nm, DataInpSpec *spec, ReqSpec rs=Optional, PropertyRef::StdType p=PropertyRef::Other) | |
TargetInfo (const char *nm, const DataInpSpec &spec, ReqSpec rs=Optional, PropertyRef::StdType p=PropertyRef::Other) | |
~TargetInfo () | |
TargetInfo & | add (const char *nm, DataInpSpec *spec=0) |
TargetInfo & | add (const char *nm, const DataInpSpec &spec) |
TargetInfo & | add (Form *frm) |
bool | isOptional () const |
bool | isHidden () const |
PropertyRef::StdType | propertyType () const |
void | setPropertyType (PropertyRef::StdType p) |
int | nrForms () const |
Form & | form (int idx) |
const Form & | form (int idx) const |
int | formNr (const char *formnm) const |
void | fillPar (IOPar &) const |
void | usePar (const IOPar &) |
bool | needsConversion () const |
Coord | convert (const Coord &) 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... | |
Static Public Member Functions | |
static TargetInfo * | mkHorPosition (bool isreq, bool wic=true, bool wll=false, bool wcrs=true) |
form(0)=(X,Y), form(1)=inl/crl, form(1/2)=long/lat More... | |
static TargetInfo * | mkZPosition (bool isreq, bool withunits=true) |
static TargetInfo * | mkDepthPosition (bool isreq, bool withunits=true) |
static TargetInfo * | mkTimePosition (bool isreq, bool withunits=true) |
Public Attributes | |
Selection | selection_ |
Static Protected Member Functions | |
static TargetInfo * | mkZPos (bool, bool wu=false, int zopt=0) |
Protected Attributes | |
ReqSpec | req_ |
PropertyRef::StdType | proptype_ |
ObjectSet< Form > | forms_ |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
Additional Inherited Members | |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Description of a Logical piece of information.
In most simple situations, you need to know the column of some data, or the row/col of a header. Then you just describe it as: Table::TargetInfo ti( "Number of samples", IntInpSpec(), Table::Required );
In more complex situations, data can be present or offered in various ways. For example, an interval can be specified as start/stop or start/width. This would lead to the definition of multiple 'Form' objects.
rs | Single string |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Table::TargetInfo::fillPar | ( | IOPar & | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
static |
form(0)=(X,Y), form(1)=inl/crl, form(1/2)=long/lat
|
inlinestatic |
|
staticprotected |
|
inlinestatic |
bool Table::TargetInfo::needsConversion | ( | ) | const |
|
inline |
|
inline |
|
inline |
void Table::TargetInfo::usePar | ( | const IOPar & | ) |
|
protected |
|
protected |
|
mutable |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019