# TestClass Class Reference

class TestClass

A test class.

## Nested Classes and Structures

- TestClass::inner

Public Member Functions
| TestClass()
| TestClass(int)
| ~TestClass()
int | PrivateVar(int)
int | PrivateVar()
int | testMe(int, const char *)
void | testMeToo(char, char)

Public Member Enumerations
enum | TEnum { TVal1, TVal2, TVal3 }

Public Attributes
enum TestClass::TEnum * | enumPtr
enum TestClass::TEnum | enumVar
int(* | handler
int | publicVar

Private Attributes
int | privateVar

# Constructor & Destructor Documentation

## TestClass()

TestClass | ( | ) |

The default constructor.

## TestClass(int)

TestClass | ( | int | aInt | ) |

A constructor with an integer argument. Have a look at TestClass() for the default constructor.

### Parameters

int aInt |

## ~TestClass()

~TestClass | ( | ) | [virtual]

A destructor. Its virtual because, well, that is good practice when we have virtuals. A more elaborate description of the destructor.

# Member Functions Documentation

## PrivateVar(int)

int | PrivateVar | ( | int | aVal | ) |

A setting function for privateVar.

### Parameters

int aVal | The value to set.

## PrivateVar()

int | PrivateVar | ( | ) | const

A getting function for privateVar.

## testMe(int, const char *)

int | testMe | ( | int | a,
| const char * | s
| ) |

a normal member taking two arguments and returning an integer value. Test() ~Test() testMeToo() publicVar()

### Parameters

int a | an integer argument.
const char * s | a constant character pointer.

## testMeToo(char, char)

void | testMeToo | ( | char | c1,
| char | c2
| ) | [pure virtual]

A pure virtual member. testMe()

### Parameters

char c1 | the first argument.
char c2 | the second argument.

# Member Enumerations Documentation

## Enum TEnum

An enum. More detailed enum description.

### Enumerators

TVal1 | enum value TVal1.
TVal2 | enum value TVal2.
TVal3 | enum value TVal3.

# Member Data Documentation

## enum TestClass::TEnum * enumPtr

enum TestClass::TEnum * | enumPtr

An enum. More detailed enum description. enum pointer. Details.

## enum TestClass::TEnum enumVar

enum TestClass::TEnum | enumVar

enum variable. Details.

## int(* handler

int(* | handler

a function variable. Details.

## int privateVar

int | privateVar | [private]

A private variable set by PrivateVar(int) and obtained by PrivateVar() const.

## int publicVar

int | publicVar

A public variable. TODO: Make this protected or private and add a get and set function like privateVar and PrivateVar()