ParameterSet.h

Classes

ParameterSet -- (full description)

class ParameterSet

Types

enum Direction

In
Out
InOut

Interface

Public Members
ParameterSet()
~ParameterSet()
const CountedPtr<GlishRecord>& parameterRecord(Bool &error, String &errorMsg)
void setParameterRecord(const GlishRecord &rec, Bool &error, String &errorMsg)
void setParameterRecord(GlishRecord *&fromNew, Bool &error, String &errorMsg)
ParameterAccessorBase *accessor(const String &which)
void setAccessor(const String &which, ParameterAccessorBase *&val)
Bool doSetup() const
void doSetup(Bool newval)
GlishRecord *values()
Private Members
ParameterAccessorBase *accessor(Int which)
const ParameterAccessorBase *accessor(Int which) const
void createOutputRecord(GlishRecord &outputRecord)
void clear()
ParameterSet(const ParameterSet &other)
ParameterSet &operator=(const ParameterSet &other)

Description

or

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

enum Direction

ParameterSet()

~ParameterSet()

const CountedPtr<GlishRecord>& parameterRecord(Bool &error, String &errorMsg)

relatively expensive - call infrequently. non-const because it calls reset on the accessors to free up storage, etc.

void setParameterRecord(const GlishRecord &rec, Bool &error, String &errorMsg)

void setParameterRecord(GlishRecord *&fromNew, Bool &error, String &errorMsg)

ParameterAccessorBase *accessor(const String &which)

Do not delete this pointer

void setAccessor(const String &which, ParameterAccessorBase *&val)

Takes over val - do not delete it

Bool doSetup() const

void doSetup(Bool newval)

GlishRecord *values()

Return a pointer to the values (used by the accessor classes).

ParameterAccessorBase *accessor(Int which)

const ParameterAccessorBase *accessor(Int which) const

void createOutputRecord(GlishRecord &outputRecord)

void clear()

Implements dtor

ParameterSet(const ParameterSet &other)

Undefined and inaccessible

ParameterSet &operator=(const ParameterSet &other)