Panda3D
pandatool
src
lwo
iffChunk.I
1
// Filename: iffChunk.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: IffChunk::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE IffChunk::
22
IffChunk() {
23
}
24
25
////////////////////////////////////////////////////////////////////
26
// Function: IffChunk::get_id
27
// Access: Public
28
// Description: Returns the ID associated with this chunk.
29
////////////////////////////////////////////////////////////////////
30
INLINE
IffId
IffChunk::
31
get_id
()
const
{
32
return
_id;
33
}
34
35
////////////////////////////////////////////////////////////////////
36
// Function: IffChunk::set_id
37
// Access: Public
38
// Description: Changes the ID associated with this chunk.
39
////////////////////////////////////////////////////////////////////
40
INLINE
void
IffChunk::
41
set_id
(
IffId
id
) {
42
_id = id;
43
}
IffChunk::set_id
void set_id(IffId id)
Changes the ID associated with this chunk.
Definition:
iffChunk.I:41
IffId
A four-byte chunk ID appearing in an "IFF" file.
Definition:
iffId.h:29
IffChunk::get_id
IffId get_id() const
Returns the ID associated with this chunk.
Definition:
iffChunk.I:31
Generated on Wed May 17 2017 23:48:28 for Panda3D by
1.8.13