tudocomp
– The TU Dortmund Compression Framework
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
z
Variables
+
Typedefs
b
c
d
f
i
l
m
n
o
p
q
s
u
v
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Variables
_
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
c
d
e
h
i
k
l
n
p
r
s
t
v
Enumerations
+
Related Functions
a
b
d
g
i
l
o
s
u
+
Files
File List
+
File Members
+
All
_
a
d
f
g
i
l
m
o
p
s
t
u
w
+
Functions
_
f
o
u
Variables
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
TypedBlock.hpp
Go to the documentation of this file.
1
#pragma once
2
3
//#include <tudocomp/compressors/esp/>
4
5
namespace
tdc
{
namespace
esp {
6
// TODO: Better memory layout
7
struct
TypedBlock
{
8
uint8_t
len
;
9
uint8_t
type
;
10
};
11
bool
operator==
(
const
TypedBlock
& a,
const
TypedBlock
& b) {
12
return
a.
len
== b.
len
&& a.
type
== b.
type
;
13
}
14
std::ostream&
operator<<
(std::ostream& o,
const
TypedBlock
& b) {
15
return
o <<
"{ len: "
<< int(b.
len
) <<
", type: "
<< int(b.
type
) <<
" }"
;
16
}
17
}}
tdc
Contains the text compression and encoding framework.
Definition:
namespaces.hpp:11
tdc::esp::TypedBlock
Definition:
TypedBlock.hpp:7
tdc::esp::TypedBlock::len
uint8_t len
Definition:
TypedBlock.hpp:8
tdc::esp::operator==
bool operator==(const Array< N, T > &lhs, const Array< N, T > &rhs)
Definition:
HashArray.hpp:35
tdc::esp::operator<<
std::ostream & operator<<(std::ostream &o, const Point &a)
Definition:
MonotoneSubsequences.hpp:36
tdc::esp::TypedBlock::type
uint8_t type
Definition:
TypedBlock.hpp:9
include
tudocomp
compressors
esp
TypedBlock.hpp
Generated by
1.8.13