Public Member Functions | Related Functions | List of all members
Test< T, i > Class Template Reference

A Test class. More...

#include "inc/class.h"

Inheritance diagram for Test< T, i >:
Tag

Public Member Functions

 Test ()
 
 Test (const Test &)
 
void test ()
 
void example ()
 a member function More...
 
void example ()
 An example member function. More...
 
int example (int p1, int p2) throw (std::out_of_range)
 
void ungrouped ()
 
void drawRect (int, int, int, int)
 
void drawRect (const Rect &r)
 
void drawRect (const Point &topLeft, const Point &bottomRight)
 
void method ()
 
A group of functions.
void foo ()
 
void bar ()
 

Related Functions

(Note that these are not member functions.)

void function ()
 
void another ()
 

Detailed Description

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

A Test class.

A short description.

This is a test class.

A template class

Test:
This is part of testing

A test class.

More details about this class.

A Test class. More details about this class.

Template Parameters
TA template parameter.

A test

A test class

See also
Test::method()

Some details about the Test class.

More text.

Definition at line 3 of file class.h.

Constructor & Destructor Documentation

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

The constructor of the template class

Definition at line 25 of file templ.cpp.

25 {}
template<class T , int i>
Test< T, i >::Test ( const Test< T, i > &  t)

The copy constructor

Definition at line 28 of file templ.cpp.

28 {}

Member Function Documentation

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

bar function

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.

Definition at line 12 of file 041_overload.cpp.

12 {}
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.

Definition at line 13 of file 041_overload.cpp.

13 {}
template<class T , int i = 100>
void Test< T, i >::drawRect ( const Point topLeft,
const Point bottomRight 
)

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

More text.

Definition at line 18 of file 041_overload.cpp.

18 {}
template<class T , int i = 100>
void Test< T, i >::example ( )

a member function

Definition at line 20 of file 025_example.cpp.

20 {}
template<class T , int i = 100>
void Test< T, i >::example ( )

An example member function.

More details about this function.

template<class T , int i = 100>
int Test< T, i >::example ( int  p1,
int  p2 
)
throw (std::out_of_range
)

An example member function.

Parameters
p1First parameter.
p2Second parameter.
Exceptions
std::out_of_rangeparameter is out of range.
Return values
0if p1 and p2 are equal
-1if p1 is smaller than p2
1if p1 is bigger than p2
template<class T , int i = 100>
void Test< T, i >::foo ( )

foo function

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

A method

template<class T , int i = 100>
void Test< T, i >::test ( )
Test:
more things to test.
template<class T , int i = 100>
void Test< T, i >::ungrouped ( )

ungrouped function

Friends And Related Function Documentation

template<class T , int i = 100>
void another ( )
related

Another function

template<class T , int i = 100>
void function ( )
related

A function.

See also
another()

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