|
|
#ifndef _ATOMA_H_ #define _ATOMA_H_ #include "element.h" class ostream; /** Classes derived from class Atoma do not contain further elements (in a canonical way - the class Note contains * a table of elements as a data member). Atomas are can be printed and copied. (This class was originally of course * called Atom, but this conflicted with class kapp.h */ class Atoma : public Element { private: public: /** Default constructor */ Atoma() {}; /** Constructor used by copy() */ Atoma(const Atoma&,Type); /** overload this destructor to free memory! */ virtual ~Atoma(); /** print has to be implemented */ virtual ostream & print(int,ostream&) const = 0; /** flush has to be implemented */ virtual void flush(const char*) const = 0; /** copy has to be implemented */ virtual Element * copy() const = 0; virtual bool isTrack() const { return false; } }; #endif
Generated by: wuerthne on clouseau on Fri Sep 21 19:20:46 2001, using kdoc 2.0a53. |