Public Member Functions | Public Attributes

Table::TargetInfo::Form Struct Reference

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

Inheritance diagram for Table::TargetInfo::Form:
NamedObject CallBacker

List of all members.

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 Attributes

ObjectSet< DataInpSpecspecs_

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