Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

Test< T, i > Class Template Reference

A test class. More...

#include <inc/class.h>

Inheritance diagram for Test< T, i >:

Tag List of all members.

Group2

Description of group 2.

void func1InGroup2 ()
void func2InGroup2 ()

Public Types

enum  EnumType { EVal1, EVal2 }
enum  EType { Val1, Val2 }
enum  TEnum { Val1, Val2 }
enum  AnotherEnum { V1, V2 }
enum  TEnum { TVal1, TVal2, TVal3 }
enum  TEnum { TVal1, TVal2, TVal3 }
 An enum. More...

Public Member Functions

void member ()
 a member function.
 Test ()
 constructor
 ~Test ()
 destructor
void member (int)
void member (int, int)
void example ()
const char * member (char, int) throw (std::out_of_range)
 A member function.
void example ()
 a member function
 Test ()
 ~Test ()
int testMe (int a, const char *s)
virtual void testMeToo (char c1, char c2)=0
void ungroupedFunction ()
void drawRect (int, int, int, int)
void drawRect (const Rect &r)
 Test ()
 A constructor.
 ~Test ()
 A destructor.
int testMe (int a, const char *s)
 A normal member taking two arguments and returning an integer value.
virtual void testMeToo (char c1, char c2)=0
 A pure virtual member.
 Test (const Test &)
void func1InGroup1 ()
void func2InGroup1 ()

Public Attributes

enum Test::TEnumenumPtr
enum Test::TEnum enumVar
int publicVar
 A public variable.
int(* handler )(int a, int b)
 A function variable.
enum Test::TEnumenumPtr
 Enum pointer.
enum Test::TEnum enumVar
 Enum variable.

Protected Attributes

int value
int var

Detailed Description

template<class T, int i = 100>
class Test< T, i >

A test class.

A test class


Member Enumeration Documentation

template<class T, int i = 100>
enum Test::AnotherEnum
 

Another enum, with inline docs

Enumeration values:
V1  value 1
V2  value 2

template<class T, int i = 100>
enum Test::EnumType
 

An enum type. The documentation block cannot be put after the enum!

Enumeration values:
EVal1  enum value 1
EVal2  enum value 2

template<class T, int i = 100>
enum Test::EType
 

An enum type. More details

Enumeration values:
Val1  enum value 1
Val2  enum value 2

template<class T, int i = 100>
enum Test::TEnum
 

An enum.

More detailed enum description.

Enumeration values:
TVal1  enum value TVal1.
TVal2  enum value TVal2.
TVal3  enum value TVal3.

template<class T, int i = 100>
enum Test::TEnum
 

An enum. More detailed enum description.

Enumeration values:
TVal1  enum value TVal1.
TVal2  enum value TVal2.
TVal3  enum value TVal3.

template<class T, int i = 100>
enum Test::TEnum
 

A description of the enum type.

Enumeration values:
Val1  enum value 1
Val2  enum value 2


Constructor & Destructor Documentation

template<class T, int i>
Test< T, i >::Test  ) 
 

constructor

details.

template<class T, int i = 100>
Test< T, i >::~Test  ) 
 

destructor

details.

template<class T, int i = 100>
Test< T, i >::Test  ) 
 

A constructor. A more elaborate description of the constructor.

template<class T, int i = 100>
Test< T, i >::~Test  ) 
 

A destructor. A more elaborate description of the destructor.

template<class T, int i = 100>
Test< T, i >::Test  ) 
 

A constructor.

A more elaborate description of the constructor.

template<class T, int i = 100>
Test< T, i >::~Test  ) 
 

A destructor.

A more elaborate description of the destructor.

template<class T, int i>
Test< T, i >::Test const Test< T, i > &  t  ) 
 

The copy constructor


Member Function Documentation

template<class T, int i = 100>
void Test< T, i >::drawRect const Rect &  r  ) 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, int i = 100>
void Test< T, i >::drawRect int  x,
int  y,
int  w,
int  h
 

This command draws a rectangle with a left upper corner at ( x , y ), width w and height h.

template<class T, int i = 100>
void Test< T, i >::example  ) 
 

An example member function. More details about this function.

Reimplemented in Tag.

template<class T, int i = 100>
void Test< T, i >::func1InGroup1  ) 
 

Same documentation for both members. Details

template<class T, int i = 100>
void Test< T, i >::func1InGroup2  ) 
 

Function 1 in group 2. Details.

template<class T, int i = 100>
void Test< T, i >::func2InGroup2  )  [protected]
 

Function 2 in group 2. Details.

template<class T, int i = 100>
const char * Test< T, i >::member char  c,
int  n
throw (std::out_of_range)
 

A member function.

Parameters:
c a character.
n an integer.
Exceptions:
std::out_of_range parameter is out of range.
Returns:
a character pointer.

template<class T, int i = 100>
void Test< T, i >::member int  ,
int 
 

An overloaded member function. Details

template<class T, int i = 100>
void Test< T, i >::member int   ) 
 

A member function. Details.

template<class T, int i = 100>
int Test< T, i >::testMe int  a,
const char *  s
 

A normal member taking two arguments and returning an integer value.

Parameters:
a an integer argument.
s a constant character pointer.
Returns:
The test results
See also:
Test(), ~Test(), testMeToo() and publicVar()

template<class T, int i = 100>
int Test< T, i >::testMe int  a,
const char *  s
 

a normal member taking two arguments and returning an integer value.

Parameters:
a an integer argument.
s a constant character pointer.
See also:
Test()

~Test()

testMeToo()

publicVar()

Returns:
The test results

template<class T, int i = 100>
virtual void Test< T, i >::testMeToo char  c1,
char  c2
[pure virtual]
 

A pure virtual member.

See also:
testMe()
Parameters:
c1 the first argument.
c2 the second argument.

template<class T, int i = 100>
virtual void Test< T, i >::testMeToo char  c1,
char  c2
[pure virtual]
 

A pure virtual member.

See also:
testMe()
Parameters:
c1 the first argument.
c2 the second argument.

template<class T, int i = 100>
void Test< T, i >::ungroupedFunction  ) 
 

Function without group. Details.


Member Data Documentation

template<class T, int i = 100>
enum Test::TEnum * Test< T, i >::enumPtr
 

Enum pointer.

Details.

template<class T, int i = 100>
enum Test::TEnum * Test< T, i >::enumPtr
 

enum pointer. Details.

template<class T, int i = 100>
enum Test::TEnum Test< T, i >::enumVar
 

Enum variable.

Details.

template<class T, int i = 100>
enum Test::TEnum Test< T, i >::enumVar
 

enum variable. Details.

template<class T, int i = 100>
int(* Test< T, i >::handler)(int a, int b)
 

A function variable.

a function variable. Details.

template<class T, int i = 100>
int Test< T, i >::publicVar
 

A public variable.

a public variable. Details.

template<class T, int i = 100>
int Test< T, i >::value [protected]
 

an integer value

template<class T, int i = 100>
int Test< T, i >::var [protected]
 

A member variable


The documentation for this class was generated from the following files:
Generated on Tue Nov 16 11:29:34 2004 by  doxygen 1.3.9.1