Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
egg
eggTable.I
1
// Filename: eggTable.I
2
// Created by: drose (19Feb99)
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: EggTable::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE EggTable::
22
EggTable(
const
string
&name) :
EggGroupNode
(name) {
23
_type = TT_table;
24
}
25
26
27
////////////////////////////////////////////////////////////////////
28
// Function: EggTable::Copy constructor
29
// Access: Public
30
// Description:
31
////////////////////////////////////////////////////////////////////
32
INLINE EggTable::
33
EggTable(
const
EggTable
©) :
EggGroupNode
(copy), _type(copy._type) {
34
}
35
36
37
////////////////////////////////////////////////////////////////////
38
// Function: EggTable::Copy assignment operator
39
// Access: Public
40
// Description:
41
////////////////////////////////////////////////////////////////////
42
INLINE
EggTable
&EggTable::
43
operator = (
const
EggTable
©) {
44
EggGroupNode::operator = (copy);
45
_type = copy._type;
46
47
return
*
this
;
48
}
49
50
51
////////////////////////////////////////////////////////////////////
52
// Function: EggTable::set_table_type
53
// Access: Public
54
// Description:
55
////////////////////////////////////////////////////////////////////
56
INLINE
void
EggTable::
57
set_table_type(TableType type) {
58
_type = type;
59
}
60
61
62
////////////////////////////////////////////////////////////////////
63
// Function: EggTable::get_table_type
64
// Access: Public
65
// Description:
66
////////////////////////////////////////////////////////////////////
67
INLINE EggTable::TableType EggTable::
68
get_table_type()
const
{
69
return
_type;
70
}
EggGroupNode
A base class for nodes in the hierarchy that are not leaf nodes.
Definition:
eggGroupNode.h:51
EggTable
This corresponds to a.
Definition:
eggTable.h:31
Generated on Mon Feb 1 2016 13:44:22 for Panda3D by
1.8.5