class TestClass |
A test class.
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 |
TestClass | ( | int | aInt | ) |
A constructor with an integer argument. Have a look at TestClass() for the default constructor.
int aInt |
~TestClass | ( | ) | [virtual] |
A destructor. Its virtual because, well, that is good practice when we have virtuals. A more elaborate description of the destructor.
int | PrivateVar | ( | int | aVal | ) |
A setting function for privateVar.
int aVal | The value to set. |
int | testMe | ( | int | a, |
const char * | s | |||
) |
a normal member taking two arguments and returning an integer value. Test() ~Test() testMeToo() publicVar()
int a | an integer argument. |
const char * s | a constant character pointer. |
void | testMeToo | ( | char | c1, |
char | c2 | |||
) | [pure virtual] |
A pure virtual member. testMe()
char c1 | the first argument. |
char c2 | the second argument. |
An enum. More detailed enum description.
TVal1 |
enum value TVal1. |
TVal2 |
enum value TVal2. |
TVal3 |
enum value TVal3. |
enum TestClass::TEnum * | enumPtr |
An enum. More detailed enum description. enum pointer. Details.
int | privateVar | [private] |
A private variable set by PrivateVar(int) and obtained by PrivateVar() const.
int | publicVar |
A public variable. TODO: Make this protected or private and add a get and set function like privateVar and PrivateVar()