Panda3D

iffGenericChunk.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 iffGenericChunk.I
10 * @author drose
11 * @date 2001-04-23
12 */
13
14 /**
15 *
16 */
17 INLINE IffGenericChunk::
18 IffGenericChunk() {
19 }
20
21 /**
22 * Returns the data in the chunk.
23 */
24 INLINE const Datagram &IffGenericChunk::
25 get_data() const {
26 return _data;
27 }
28
29 /**
30 * Changes the data in the chunk
31 */
32 INLINE void IffGenericChunk::
33 set_data(const Datagram &data) {
34 _data = data;
35 }
Datagram
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
Definition: datagram.h:38
IffGenericChunk::get_data
const Datagram & get_data() const
Returns the data in the chunk.
Definition: iffGenericChunk.I:25
IffGenericChunk::set_data
void set_data(const Datagram &data)
Changes the data in the chunk.
Definition: iffGenericChunk.I:33