Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
skel
typedSkel.cxx
1
// Filename: typedSkel.cxx
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
#include "typedSkel.h"
16
17
TypeHandle
TypedSkel::_type_handle;
18
19
////////////////////////////////////////////////////////////////////
20
// Function: TypedSkel::set_value_alt
21
// Access: Public
22
// Description: Stores an integer value. Exact same functionality
23
// as set_value, except that this isn't an inline
24
// function.
25
////////////////////////////////////////////////////////////////////
26
void
TypedSkel::
27
set_value_alt
(
int
n) {
28
_value = n;
29
}
30
31
////////////////////////////////////////////////////////////////////
32
// Function: TypedSkel::get_value
33
// Access: Public
34
// Description: Retreives a value that was previously stored.
35
// Exact same functionality as get_value, except
36
// that this isn't an inline function.
37
////////////////////////////////////////////////////////////////////
38
int
TypedSkel::
39
get_value_alt
() {
40
return
_value;
41
}
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:85
TypedSkel::set_value_alt
void set_value_alt(int n)
Stores an integer value.
Definition:
typedSkel.cxx:27
TypedSkel::get_value_alt
int get_value_alt()
Retreives a value that was previously stored.
Definition:
typedSkel.cxx:39
Generated on Mon Feb 1 2016 13:44:39 for Panda3D by
1.8.5