EHS
PNG_Chunk.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ehs/EHS.h
"
4
#include "
ehs/Str.h
"
5
#include "
ehs/Serializer.h
"
6
7
namespace
ehs
8
{
9
class
EHS_LIB_IO
PNG_Chunk
10
{
11
private
:
12
Str_8
id;
13
UInt_64 hashId;
14
Serializer<UInt_64>
data;
15
Byte
crc[4];
16
17
public
:
18
PNG_Chunk
();
19
20
PNG_Chunk
(
const
Str_8
&
id
,
const
Serializer<UInt_64>
& data,
const
Byte
crc[4]);
21
22
PNG_Chunk
(
const
PNG_Chunk
& chunk);
23
24
PNG_Chunk
& operator=(
const
PNG_Chunk
& chunk);
25
26
Str_8
GetId()
const
;
27
28
UInt_64 GetHashId()
const
;
29
30
Serializer<UInt_64>
* GetData();
31
32
const
unsigned
char
* GetCRC()
const
;
33
};
34
}
EHS.h
Serializer.h
Str.h
ehs::PNG_Chunk
Definition:
PNG_Chunk.h:10
ehs::Serializer< UInt_64 >
ehs::Str< Char_8, UInt_64 >
ehs
Definition:
Anchor.h:6
ehs::Byte
unsigned char Byte
Definition:
Types.h:39
include
ehs
io
img
PNG_Chunk.h
Generated by
1.9.4