IntegerClass< T, S, C > Class Template Reference

#include <numbers.h>

Inherits DataClass.

Collaboration diagram for IntegerClass< T, S, C >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 IntegerClass ()
 IntegerClass (T i)
 IntegerClass (const char *text)
virtual DataClassshallow_copy () const
 operator T () const
operator() () const
char letter () const
IntegerClass< T, S, C > & operator= (const IntegerClass< T, S, C > &o)
IntegerClass< T, S, C > & operator= (T t)

Protected Member Functions

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


Detailed Description

template<class T, bool S, char C>
class IntegerClass< T, S, C >

Definition at line 35 of file numbers.h.


Constructor & Destructor Documentation

template<class T, bool S, char C>
IntegerClass< T, S, C >::IntegerClass (  )  [inline]

Definition at line 49 of file numbers.h.

template<class T, bool S, char C>
IntegerClass< T, S, C >::IntegerClass ( i  )  [inline]

Definition at line 52 of file numbers.h.

template<class T, bool S, char C>
IntegerClass< T, S, C >::IntegerClass ( const char *  text  )  [inline]

Definition at line 55 of file numbers.h.


Member Function Documentation

template<class T, bool S, char C>
char IntegerClass< T, S, C >::letter (  )  const [inline]

Definition at line 85 of file numbers.h.

Here is the caller graph for this function:

template<class T, bool S, char C>
IntegerClass< T, S, C >::operator T (  )  const [inline]

Definition at line 77 of file numbers.h.

template<class T, bool S, char C>
T IntegerClass< T, S, C >::operator() (  )  const [inline]

Definition at line 81 of file numbers.h.

template<class T, bool S, char C>
IntegerClass<T,S,C>& IntegerClass< T, S, C >::operator= ( t  )  [inline]

Definition at line 94 of file numbers.h.

template<class T, bool S, char C>
IntegerClass<T,S,C>& IntegerClass< T, S, C >::operator= ( const IntegerClass< T, S, C > &  o  )  [inline]

Definition at line 89 of file numbers.h.

template<class T, bool S, char C>
virtual DataClass* IntegerClass< T, S, C >::shallow_copy (  )  const [inline, virtual]

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

Implements DataClass.

Definition at line 73 of file numbers.h.

template<class T, bool S, char C>
virtual QString IntegerClass< T, S, C >::type_name (  )  const [inline, protected, virtual]

Implements DataClass.

Definition at line 40 of file numbers.h.

template<class T, bool S, char C>
virtual void IntegerClass< T, S, C >::visit ( DataVisitor v  )  [inline, protected, virtual]

Implements DataClass.

Definition at line 44 of file numbers.h.

Here is the call graph for this function:


The documentation for this class was generated from the following file:

Generated on Sat Feb 20 19:04:27 2010 for Data Objects by  doxygen 1.5.9