Sleeping Wombat Common Library
0.50.0
swCommonLibrary
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
HierarchicalChunkedFormat
Headers
ChunkHeader.h
Go to the documentation of this file.
1
#pragma once
2
8
#include "
swCommonLib/Common/TypesDefinitions.h
"
9
10
11
namespace
sw
12
{
13
14
16
struct
ChunkHeader
17
{
18
char
ChunkHead
[ 3 ];
19
bool
HasChildren
;
20
uint32
DataOffset
;
21
Size
NextChunk
;
22
Size
DataSize
;
23
24
// ================================ //
25
//
26
ChunkHeader
()
27
: DataOffset( 0 )
28
, NextChunk( 0 )
29
, DataSize( 0 )
30
, HasChildren( false )
31
{
32
ChunkHead[ 0 ] =
'C'
;
33
ChunkHead[ 1 ] =
'H'
;
34
ChunkHead[ 2 ] =
'N'
;
35
}
36
37
};
38
39
}
// sw
sw::ChunkHeader::DataOffset
uint32 DataOffset
Data or nested chunks.
Definition:
ChunkHeader.h:20
sw::ChunkHeader
Definition:
ChunkHeader.h:16
sw
Definition:
Exception.h:11
sw::ChunkHeader::NextChunk
Size NextChunk
Offset to Next chunk on the same level.
Definition:
ChunkHeader.h:21
sw::ChunkHeader::DataSize
Size DataSize
Size of data. If value is equal to 0.
Definition:
ChunkHeader.h:22
TypesDefinitions.h
Plik zawiera definicje podstawowych typów zmiennych.
sw::ChunkHeader::ChunkHead
char ChunkHead[3]
Letters CHN.
Definition:
ChunkHeader.h:18
sw::ChunkHeader::HasChildren
bool HasChildren
Indicated wheter DataOffset points to nested chunk or data.
Definition:
ChunkHeader.h:19
Generated on Thu May 31 2018 19:56:00 for Sleeping Wombat Common Library by
1.8.9.1