Main Page   Class Hierarchy   Compound List   File List   Compound Members  

DynParameter Class Reference

Dynamic field (or object) type parameter. More...

#include <mparameter.h>

Inheritance diagram for DynParameter::

List of all members.

Public Methods

 DynParameter ()
 DynParameter (const String &name, const String &shortd, int maxlen, const String &clsname)
virtual ~DynParameter ()
const String& name () const
const String& shortDesc () const
const String& paramClass () const
int maxlen () const
virtual bool checkValue (const String &value) const

Detailed Description

Dynamic field (or object) type parameter.

Definition at line 44 of file mparameter.h.


Constructor & Destructor Documentation

DynParameter ( ) [inline]
 

Default constructor.

FORBIDDEN - included only for technical reasons.

Definition at line 47 of file mparameter.h.

DynParameter ( const String & name,
const String & shortd,
int maxlen,
const String & clsname ) [inline]
 

The constructor to use.

Parameters:
name   Name of the parameter.
shortd   Short description.
maxlen   Maximum length (in characters).
clsname   Class name of the inheritor.

Definition at line 50 of file mparameter.h.


Member Function Documentation

bool checkValue ( const String & value ) const [inline, virtual]
 

Checks if the given string representation is a valid value.

Returns true if it is, false if not.

Definition at line 73 of file mparameter.h.

int maxlen ( ) const [inline]
 

Returns maximum length (in characters) of the value's string representation.

Definition at line 68 of file mparameter.h.

const String & name ( ) const [inline]
 

Returns the name of the parameter.

Definition at line 59 of file mparameter.h.

const String & paramClass ( ) const [inline]
 

Returns parameter's class name.

Definition at line 65 of file mparameter.h.

const String & shortDesc ( ) const [inline]
 

Returns a short description of the parameter.

Definition at line 62 of file mparameter.h.


The documentation for this class was generated from the following file:
Generated at Tue Dec 4 19:53:29 2001 for MagiC++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001