Panda3D
|
A basic description of the function and purpose of SampleClass. More...
#include "sampleClass.h"
Classes | |
class | NestedClass |
Public Types | |
enum | NestedEnum { NE_case_one, NE_case_two } |
Public Member Functions | |
SampleClass (const SampleClass ©) | |
virtual TypeHandle | force_init_type () |
int | get_flag () const |
A few sentences describing the purpose of flag, the legal values it may be set to, and the implications of setting it to certain values. | |
virtual TypeHandle | get_type () const |
int | public_method () |
A few sentences describing what public_method is supposed to do and why you'd want to call it. | |
void | set_flag (int flag) |
A few sentences describing the purpose of flag, the legal values it may be set to, and the implications of setting it to certain values. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Public Attributes | |
bool | _public_data_member |
Protected Member Functions | |
bool | protected_method () |
A few sentences describing what protected_method is supposed to do. |
A basic description of the function and purpose of SampleClass.
Note that class names are generally mixed case, no underscore, beginning with a capital letter.
Definition at line 40 of file sampleClass.h.
int SampleClass::get_flag | ( | ) | const [inline] |
A few sentences describing the purpose of flag, the legal values it may be set to, and the implications of setting it to certain values.
Definition at line 58 of file sampleClass.I.
static void SampleClass::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from TypedObject.
Definition at line 97 of file sampleClass.h.
References TypedObject::init_type().
bool SampleClass::protected_method | ( | ) | [protected] |
A few sentences describing what protected_method is supposed to do.
Definition at line 55 of file sampleClass.cxx.
int SampleClass::public_method | ( | ) |
A few sentences describing what public_method is supposed to do and why you'd want to call it.
Definition at line 35 of file sampleClass.cxx.
void SampleClass::set_flag | ( | int | flag | ) | [inline] |
A few sentences describing the purpose of flag, the legal values it may be set to, and the implications of setting it to certain values.
Definition at line 46 of file sampleClass.I.