VIPER REFERENCE MANUAL


NAME
iflName - named element in an iflDictionary

INHERITS FROM
iflHashElem

HEADER FILE
#include <ifl/iflDictionary.h>

PUBLIC METHOD SUMMARY
iflName ( const char* id=NULL);
virtual ~iflName (  );
void setID ( const char* id);
char* getID (  ) const;

CLASS DESCRIPTION
This class is used to create named elements to be placed in an iflDictionary. It can be used a a base class for more complex named elements.

METHOD DESCRIPTIONS

   iflName()
iflName ( const char* id=NULL);

Creates a dictionary element with name string given by id.

   ~iflName()
virtual ~iflName (  );

Destroys the object and frees all associated memory.

   getID()
char* getID (  ) const;

Returns a pointer to the name string.

   setID()
void setID ( const char* id);

Set this element's name to the string given by id.

SEE ALSO
iflDictionary, iflHashElem