Panda3D
|
00001 // Filename: typedSkel.I 00002 // Created by: jyelon (31Jan07) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: TypedSkel::Constructor 00018 // Access: Public 00019 // Description: 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE TypedSkel:: 00022 TypedSkel() { 00023 } 00024 00025 //////////////////////////////////////////////////////////////////// 00026 // Function: TypedSkel::Destructor 00027 // Access: Public 00028 // Description: 00029 //////////////////////////////////////////////////////////////////// 00030 INLINE TypedSkel:: 00031 ~TypedSkel() { 00032 } 00033 00034 //////////////////////////////////////////////////////////////////// 00035 // Function: TypedSkel::set_value 00036 // Access: Public 00037 // Description: Stores an integer value. 00038 //////////////////////////////////////////////////////////////////// 00039 INLINE void TypedSkel:: 00040 set_value(int n) { 00041 _value = n; 00042 } 00043 00044 //////////////////////////////////////////////////////////////////// 00045 // Function: TypedSkel::get_value 00046 // Access: Public 00047 // Description: Retreives a value that was previously stored. 00048 //////////////////////////////////////////////////////////////////// 00049 INLINE int TypedSkel:: 00050 get_value() { 00051 return _value; 00052 }