This is the most basic of the skeleton classes. More...
#include "basicSkel.h"
Public Member Functions | |
int | get_value () |
Retreives a value that was previously stored. More... | |
int | get_value_alt () |
Retreives a value that was previously stored. More... | |
void | set_value (int n) |
Stores an integer value. More... | |
void | set_value_alt (int n) |
Stores an integer value. More... | |
This is the most basic of the skeleton classes.
It 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."
Definition at line 26 of file basicSkel.h.
|
inline |
Retreives a value that was previously stored.
Definition at line 40 of file basicSkel.I.
int BasicSkel::get_value_alt | ( | ) |
Retreives a value that was previously stored.
Exact same functionality as get_value, except that this isn't an inline function.
Definition at line 30 of file basicSkel.cxx.
|
inline |
Stores an integer value.
Definition at line 32 of file basicSkel.I.
void BasicSkel::set_value_alt | ( | int | n | ) |
Stores an integer value.
Exact same functionality as set_value, except that this isn't an inline function.
Definition at line 21 of file basicSkel.cxx.