OpendTect  6.6
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, const DataInpSpec &spec)
 
 Form (const char *nm, 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=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (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< DataInpSpecspecs_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

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

◆ Form() [1/2]

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

◆ Form() [2/2]

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

◆ ~Form()

Table::TargetInfo::Form::~Form ( )
inline

Member Function Documentation

◆ add() [1/2]

Form& Table::TargetInfo::Form::add ( const DataInpSpec spec)
inline

◆ add() [2/2]

Form& Table::TargetInfo::Form::add ( DataInpSpec spec)
inline

◆ duplicate()

Form* Table::TargetInfo::Form::duplicate ( const char *  nm) const
inline

Member Data Documentation

◆ specs_

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

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