Panda3D

Loading...
Searching...
No Matches
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 */
17INLINE EggTable::
18EggTable(const std::string &name) : EggGroupNode(name) {
19 _type = TT_table;
20}
21
22
23/**
24 *
25 */
26INLINE EggTable::
27EggTable(const EggTable &copy) : EggGroupNode(copy), _type(copy._type) {
28}
29
30
31/**
32 *
33 */
34INLINE EggTable &EggTable::
35operator = (const EggTable &copy) {
36 EggGroupNode::operator = (copy);
37 _type = copy._type;
38
39 return *this;
40}
41
42
43/**
44 *
45 */
46INLINE void EggTable::
47set_table_type(TableType type) {
48 _type = type;
49}
50
51
52/**
53 *
54 */
55INLINE EggTable::TableType EggTable::
56get_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 a <Bundle> entry.
Definition eggTable.h:27