Public Member Functions | Protected Member Functions | Protected Attributes

Attrib::ParamGroup< PT > Class Template Reference

Inheritance diagram for Attrib::ParamGroup< PT >:
Attrib::Param

List of all members.

Public Member Functions

 ParamGroup (int startsz, const char *prefix, const PT &templ)
 ParamGroup (const ParamGroup &)
 ~ParamGroup ()
ParamGroup< PT > * clone () const
bool isOK () const
const char * errMsg () const
bool setValues (BufferStringSet &)
bool getCompositeValue (BufferString &) const
void fillDefStr (BufferString &) const
Paramoperator[] (int idx)
const Paramoperator[] (int idx) const
void setSize (int)
int size () const
const char * getPrefix () const

Protected Member Functions

int getSize () const
bool isEqual (const Param &) const

Protected Attributes

int sz_
const char * prefix_
PT templ_
ObjectSet< PT > params_
ObjectSet< char > keys_
BufferString errmsg_

template<class PT>
class Attrib::ParamGroup< PT >


Constructor & Destructor Documentation

template<class PT >
Attrib::ParamGroup< PT >::ParamGroup ( int  startsz,
const char *  prefix,
const PT &  templ 
) [inline]
template<class PT >
Attrib::ParamGroup< PT >::ParamGroup ( const ParamGroup< PT > &  a  )  [inline]
template<class PT >
Attrib::ParamGroup< PT >::~ParamGroup (  )  [inline]

Member Function Documentation

template<class PT >
ParamGroup< PT > * Attrib::ParamGroup< PT >::clone (  )  const [inline, virtual]

Implements Attrib::Param.

template<class PT >
const char * Attrib::ParamGroup< PT >::errMsg (  )  const [inline]
template<class PT >
void Attrib::ParamGroup< PT >::fillDefStr ( BufferString res  )  const [inline, virtual]

Implements Attrib::Param.

template<class PT >
bool Attrib::ParamGroup< PT >::getCompositeValue ( BufferString  )  const [inline, virtual]

Put all values into one string.

Implements Attrib::Param.

template<class PT>
const char* Attrib::ParamGroup< PT >::getPrefix (  )  const [inline]
template<class PT >
int Attrib::ParamGroup< PT >::getSize (  )  const [inline, protected]
template<class PT >
bool Attrib::ParamGroup< PT >::isEqual ( const Param b  )  const [inline, protected, virtual]

Implements Attrib::Param.

template<class PT >
bool Attrib::ParamGroup< PT >::isOK (  )  const [inline, virtual]

Implements Attrib::Param.

template<class PT>
const Param& Attrib::ParamGroup< PT >::operator[] ( int  idx  )  const [inline]
template<class PT>
Param& Attrib::ParamGroup< PT >::operator[] ( int  idx  )  [inline]
template<class PT >
void Attrib::ParamGroup< PT >::setSize ( int  nsz  )  [inline]
template<class PT >
bool Attrib::ParamGroup< PT >::setValues ( BufferStringSet  )  [inline, virtual]

Set all values from multiple strings.

Reimplemented from Attrib::Param.

template<class PT>
int Attrib::ParamGroup< PT >::size (  )  const [inline]

Member Data Documentation

template<class PT>
BufferString Attrib::ParamGroup< PT >::errmsg_ [protected]
template<class PT>
ObjectSet<char> Attrib::ParamGroup< PT >::keys_ [protected]
template<class PT>
ObjectSet<PT> Attrib::ParamGroup< PT >::params_ [protected]
template<class PT>
const char* Attrib::ParamGroup< PT >::prefix_ [protected]
template<class PT>
int Attrib::ParamGroup< PT >::sz_ [protected]
template<class PT>
PT Attrib::ParamGroup< PT >::templ_ [protected]