Symbol Class Reference

#include <symbol.h>

Inheritance diagram for Symbol:
Inheritance graph
[legend]
Collaboration diagram for Symbol:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Symbol ()
 Symbol (const QString &s)
 Symbol (const Symbol &s)
Symboloperator= (const Symbol &s)
const QString & operator() () const
 operator const QString & () const
 operator QString () const
int length () const
bool operator< (const Symbol &other)
bool operator== (const Symbol &other)

Static Public Member Functions

static QString type ()

Protected Member Functions

virtual DataClassshallow_copy () const
virtual QString type_name () const
virtual void visit (DataVisitor &v)

Constructor & Destructor Documentation

Symbol::Symbol (  )  [inline]

Referenced by shallow_copy().

Symbol::Symbol ( const QString &  s  )  [inline]
Symbol::Symbol ( const Symbol s  )  [inline]

Member Function Documentation

int Symbol::length (  )  const [inline]

Referenced by DataTexter::visit().

Symbol::operator const QString & (  )  const [inline]
Symbol::operator QString (  )  const [inline]
const QString& Symbol::operator() (  )  const [inline]
bool Symbol::operator< ( const Symbol other  )  [inline]
Symbol& Symbol::operator= ( const Symbol s  )  [inline]
bool Symbol::operator== ( const Symbol other  )  [inline]
virtual DataClass* Symbol::shallow_copy (  )  const [inline, protected, virtual]

The shallow_copy function should be overridden to return a shallow copy of the own object, but allocated with new.

Implements DataClass.

References Symbol().

static QString Symbol::type (  )  [inline, static]

Referenced by type_name().

virtual QString Symbol::type_name (  )  const [inline, protected, virtual]

Implements DataClass.

References type().

void Symbol::visit ( DataVisitor v  )  [protected, virtual]

Implements DataClass.

References DataVisitor::visit().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2