Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File 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)
const Stringname () const
const StringshortDesc () const
const StringparamClass () 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

The constructor to use.

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.

References maxlen(), and name().

Member Function Documentation

virtual 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.

References String::length().

int maxlen   const [inline]

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

Definition at line 68 of file mparameter.h.

Referenced by DynParameter().

const String& name   const [inline]

Returns the name of the parameter.

Definition at line 59 of file mparameter.h.

Referenced by DynParameter().

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 on Thu Feb 10 20:06:43 2005 for LibMagiC by doxygen1.2.18