Source: reference.h


Annotated List
Files
Globals
Hierarchy
Index
#ifndef _REFERENCE_H_
#define _REFERENCE_H_

#include "atom.h"

class Reference : public Atoma
{
 private:
  const char * _key;
  Element * _value;

 public:
  Reference();
  Reference(const Reference&);
  Reference(Element*);
  Reference(const char*,Element*);
  ~Reference();

  const char * getKey() const { return _key; }
  Element * getValue() const { return _value; }
  Element * getValue(const char*) const;

  /*  virtual bool operator==(Element*);
  virtual bool operator==(const char*);
  */

  virtual ostream & print(int,ostream&) const;
  virtual void flush(const char*) const;
  virtual Element * copy() const;
  virtual bool isEvent() const { return false; }

};

#endif

Generated by: wuerthne on clouseau on Fri Sep 21 19:20:46 2001, using kdoc 2.0a53.