Panda3D
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SampleClass Class Reference

A basic description of the function and purpose of SampleClass. More...

#include "sampleClass.h"

Inheritance diagram for SampleClass:
TypedObject MemoryBase

Classes

class  NestedClass
 

Public Types

enum  NestedEnum { NE_case_one, NE_case_two }
 

Public Member Functions

 SampleClass (const SampleClass &copy)
 
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...
 
- Public Member Functions inherited from TypedObject
 TypedObject (const TypedObject &copy)=default
 
TypedObjectas_typed_object ()
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
const TypedObjectas_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...
 
TypedObjectoperator= (const TypedObject &copy)=default
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from TypedObject
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
 
- Public Attributes inherited from TypedObject
 get_type
 

Detailed Description

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.

Member Function Documentation

◆ get_flag()

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 46 of file sampleClass.I.

◆ public_method()

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.

◆ set_flag()

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 37 of file sampleClass.I.


The documentation for this class was generated from the following files: