23 #include "pandabase.h" 25 #include "localHeaderFile.h" 26 #include "anotherLocalHeaderFile.h" 28 #include "typedObject.h" 29 #include "anotherPandaHeaderFile.h" 31 #include <systemHeaderFile.h> 54 INLINE ~SampleClass();
64 INLINE
void set_flag(
int flag);
65 INLINE
int get_flag()
const;
70 bool protected_method();
73 void private_method();
81 bool _public_data_member;
85 NestedEnumType _private_data_member;
97 static void init_type() {
99 register_type(_type_handle,
"SampleClass",
100 TypedObject::get_class_type());
103 return get_class_type();
105 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
111 #include "sampleClass.I" static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
A basic description of the function and purpose of SampleClass.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
TypeHandle is the identifier used to differentiate C++ class types.