Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
chan
animChannelScalarTable.I
1
// Filename: animChannelScalarTable.I
2
// Created by: drose (22Feb99)
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: AnimChannelScalarTable::get_table
18
// Access: Public
19
// Description: Returns a pointer to the table's data,
20
// if it exists, or NULL if it does not.
21
////////////////////////////////////////////////////////////////////
22
INLINE
CPTA_stdfloat
AnimChannelScalarTable::
23
get_table
()
const
{
24
return
_table;
25
}
26
27
////////////////////////////////////////////////////////////////////
28
// Function: AnimChannelScalarTable::has_table
29
// Access: Published
30
// Description: Returns true if the data table has been assigned.
31
////////////////////////////////////////////////////////////////////
32
INLINE
bool
AnimChannelScalarTable::
33
has_table
()
const
{
34
return
_table != (
const
PN_stdfloat *)NULL;
35
}
36
37
38
////////////////////////////////////////////////////////////////////
39
// Function: AnimChannelScalarTable::clear_table
40
// Access: Published
41
// Description: Empties the data table.
42
////////////////////////////////////////////////////////////////////
43
INLINE
void
AnimChannelScalarTable::
44
clear_table
() {
45
_table = NULL;
46
}
47
AnimChannelScalarTable::has_table
bool has_table() const
Returns true if the data table has been assigned.
Definition:
animChannelScalarTable.I:33
AnimChannelScalarTable::get_table
CPTA_stdfloat get_table() const
Returns a pointer to the table's data, if it exists, or NULL if it does not.
Definition:
animChannelScalarTable.I:23
AnimChannelScalarTable::clear_table
void clear_table()
Empties the data table.
Definition:
animChannelScalarTable.I:44
ConstPointerToArray
Similar to PointerToArray, except that its contents may not be modified.
Definition:
pointerToArray.h:78
Generated on Mon Feb 1 2016 13:44:17 for Panda3D by
1.8.5