Panda3D
typedSkel.I
1 // Filename: typedSkel.I
2 // Created by: jyelon (31Jan07)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: TypedSkel::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE TypedSkel::
22 TypedSkel() {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: TypedSkel::Destructor
27 // Access: Public
28 // Description:
29 ////////////////////////////////////////////////////////////////////
30 INLINE TypedSkel::
31 ~TypedSkel() {
32 }
33 
34 ////////////////////////////////////////////////////////////////////
35 // Function: TypedSkel::set_value
36 // Access: Public
37 // Description: Stores an integer value.
38 ////////////////////////////////////////////////////////////////////
39 INLINE void TypedSkel::
40 set_value(int n) {
41  _value = n;
42 }
43 
44 ////////////////////////////////////////////////////////////////////
45 // Function: TypedSkel::get_value
46 // Access: Public
47 // Description: Retreives a value that was previously stored.
48 ////////////////////////////////////////////////////////////////////
49 INLINE int TypedSkel::
51  return _value;
52 }
void set_value(int n)
Stores an integer value.
Definition: typedSkel.I:40
int get_value()
Retreives a value that was previously stored.
Definition: typedSkel.I:50