#include <sampleClass.h>
Inheritance diagram for SampleClass:
Public Types | |
enum | NestedEnum { NE_case_one, NE_case_two } |
Public Member Functions | |
SampleClass () | |
SampleClass (const SampleClass ©) | |
~SampleClass () | |
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. | |
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. | |
int | public_method () |
A few sentences describing what public_method is supposed to do and why you'd want to call it. | |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
int | get_type_index () const |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. | |
bool | is_of_type (TypeHandle handle) const |
Returns true if the current object is or derives from the indicated type. | |
bool | is_exact_type (TypeHandle handle) const |
Returns true if the current object is the indicated type exactly. | |
Static Public Member Functions | |
TypeHandle | get_class_type () |
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. | |
Private Member Functions | |
void | private_method () |
A few sentences describing what private_method is supposed to do. | |
Private Attributes | |
NestedEnumType | _private_data_member |
int | _flag |
Static Private Attributes | |
TypeHandle | _type_handle |
Note that class names are generally mixed case, no underscore, beginning with a capital letter.
Definition at line 53 of file sampleClass.h.
|
Definition at line 55 of file sampleClass.h. |
|
Definition at line 34 of file sampleClass.cxx. References _flag, NE_case_one, and NE_case_two. |
|
Definition at line 31 of file sampleClass.I. |
|
Definition at line 46 of file sampleClass.I. |
|
Implements TypedObject. Definition at line 118 of file sampleClass.h. |
|
Reimplemented from TypedObject. Definition at line 107 of file sampleClass.h. |
|
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 79 of file sampleClass.I. |
|
Implements TypedObject. Definition at line 115 of file sampleClass.h. |
|
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index(). Definition at line 71 of file typedObject.I. References TypeHandle::get_name(), TypedObject::get_type(), and INLINE. |
|
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 110 of file sampleClass.h. |
|
Returns true if the current object is the indicated type exactly.
Definition at line 101 of file typedObject.I. Referenced by PT(), and CollisionNode::xform(). |
|
|
A few sentences describing what private_method is supposed to do.
Definition at line 92 of file sampleClass.cxx. |
|
A few sentences describing what protected_method is supposed to do.
Definition at line 72 of file sampleClass.cxx. |
|
A few sentences describing what public_method is supposed to do and why you'd want to call it.
Definition at line 48 of file sampleClass.cxx. |
|
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 62 of file sampleClass.I. References _flag. |
|
Definition at line 99 of file sampleClass.h. Referenced by SampleClass(), set_flag(), and ~SampleClass(). |
|
Definition at line 98 of file sampleClass.h. |
|
Definition at line 94 of file sampleClass.h. |
|
Reimplemented from TypedObject. Definition at line 24 of file sampleClass.cxx. |