Panda3D

eggTable.I
Go to the documentation of this file.
1 /**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file eggTable.I
10 * @author drose
11 * @date 1999-02-19
12 */
13
14 /**
15 *
16 */
17 INLINE EggTable::
18 EggTable(const std::string &name) : EggGroupNode(name) {
19 _type = TT_table;
20 }
21
22
23 /**
24 *
25 */
26 INLINE EggTable::
27 EggTable(const EggTable &copy) : EggGroupNode(copy), _type(copy._type) {
28 }
29
30
31 /**
32 *
33 */
34 INLINE EggTable &EggTable::
35 operator = (const EggTable &copy) {
36 EggGroupNode::operator = (copy);
37 _type = copy._type;
38
39 return *this;
40 }
41
42
43 /**
44 *
45 */
46 INLINE void EggTable::
47 set_table_type(TableType type) {
48 _type = type;
49 }
50
51
52 /**
53 *
54 */
55 INLINE EggTable::TableType EggTable::
56 get_table_type() const {
57 return _type;
58 }
EggGroupNode
A base class for nodes in the hierarchy that are not leaf nodes.
Definition: eggGroupNode.h:46
EggTable
This corresponds to a.
Definition: eggTable.h:27