Panda3D
iffGenericChunk.I
1 // Filename: iffGenericChunk.I
2 // Created by: drose (23Apr01)
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: IffGenericChunk::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE IffGenericChunk::
22 IffGenericChunk() {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: IffGenericChunk::get_data
27 // Access: Public
28 // Description: Returns the data in the chunk.
29 ////////////////////////////////////////////////////////////////////
30 INLINE const Datagram &IffGenericChunk::
31 get_data() const {
32  return _data;
33 }
34 
35 ////////////////////////////////////////////////////////////////////
36 // Function: IffGenericChunk::set_data
37 // Access: Public
38 // Description: Changes the data in the chunk
39 ////////////////////////////////////////////////////////////////////
40 INLINE void IffGenericChunk::
41 set_data(const Datagram &data) {
42  _data = data;
43 }
const Datagram & get_data() const
Returns the data in the chunk.
void set_data(const Datagram &data)
Changes the data in the chunk.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
Definition: datagram.h:43