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. More... | |
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. More... | |
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. More... | |
![]() | |
TypedObject (const TypedObject ©)=default | |
TypedObject * | as_typed_object () |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
const TypedObject * | as_typed_object () const |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
int | get_best_parent_from_Set (const std::set< int > &) const |
int | get_type_index () const |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
bool | is_exact_type (TypeHandle handle) const |
Returns true if the current object is the indicated type exactly. More... | |
bool | is_of_type (TypeHandle handle) const |
Returns true if the current object is or derives from the indicated type. More... | |
TypedObject & | operator= (const TypedObject ©)=default |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
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. More... | |
Public Attributes | |
bool | _public_data_member |
![]() | |
get_type | |
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 37 of file sampleClass.h.
|
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.
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 30 of file sampleClass.cxx.
|
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 37 of file sampleClass.I.