Panda3D
typedSkel.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file typedSkel.cxx
10  * @author jyelon
11  * @date 2007-01-31
12  */
13 
14 #include "typedSkel.h"
15 
16 TypeHandle TypedSkel::_type_handle;
17 
18 /**
19  * Stores an integer value. Exact same functionality as set_value, except
20  * that this isn't an inline function.
21  */
22 void TypedSkel::
23 set_value_alt(int n) {
24  _value = n;
25 }
26 
27 /**
28  * Retreives a value that was previously stored. Exact same functionality as
29  * get_value, except that this isn't an inline function.
30  */
31 int TypedSkel::
33  return _value;
34 }
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_value_alt(int n)
Stores an integer value.
Definition: typedSkel.cxx:23
int get_value_alt()
Retreives a value that was previously stored.
Definition: typedSkel.cxx:32