# TypedSkel

from pandac.PandaModules import TypedSkel

Class : TypedSkel
Description : Skeleton object that inherits from TypedObject. Stores an integer, and will return it on request.
The skeleton classes are intended to help you learn how to add C++ classes to panda. See also the manual, "Adding C++ Classes to Panda."

## Inheritance:

TypedSkel: TypedObject
TypedObject: MemoryBase
MemoryBase:

## Methods of TypedSkel:

getClassType
getValue
getValueAlt
setValue
setValueAlt

## Methods of TypedObject:

getClassType
getType
getTypeIndex
isExactType
isOfType

getClassType static TypeHandle TypedSkel::get_class_type(void); Undocumented function.

getValue int TypedSkel::get_value(void); These inline functions allow you to get and set _value. Description: Retreives a value that was previously stored.

getValueAlt int TypedSkel::get_value_alt(void); These do the same thing as the functions above. Description: Retreives a value that was previously stored. Exact same functionality as get_value, except that this isn't an inline function.

setValue void TypedSkel::set_value(int n); These inline functions allow you to get and set _value. Description: Stores an integer value.

setValueAlt void TypedSkel::set_value_alt(int n); These do the same thing as the functions above. Description: Stores an integer value. Exact same functionality as set_value, except that this isn't an inline function.

getClassType static TypeHandle TypedObject::get_class_type(void); Undocumented function.

getType virtual TypeHandle TypedObject::get_type(void) const = 0; Derived classes should override this function to return get_class_type().

getTypeIndex int TypedObject::get_type_index(void) const; Description: 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().

isExactType bool TypedObject::is_exact_type(TypeHandle handle) const; Description: Returns true if the current object is the indicated type exactly.

isOfType bool TypedObject::is_of_type(TypeHandle handle) const; Description: Returns true if the current object is or derives from the indicated type.