NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
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
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
f
i
l
m
n
p
r
s
u
v
▼
ndnSIM
ndnSIM documentation
All Attributes
All GlobalValues
All LogComponents
All TraceSources
Todo List
Deprecated List
►
Modules
►
Namespaces
►
Classes
▼
Files
►
File List
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
hex-encode.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_CXX_SECURITY_TRANSFORM_HEX_ENCODE_HPP
23
#define NDN_CXX_SECURITY_TRANSFORM_HEX_ENCODE_HPP
24
25
#include "
transform-base.hpp
"
26
27
namespace
ndn
{
28
namespace
security
{
29
namespace
transform {
30
37
class
HexEncode
:
public
Transform
38
{
39
public
:
45
explicit
46
HexEncode
(
bool
useUpperCase =
false
);
47
48
private
:
54
virtual
size_t
55
convert(
const
uint8_t* data,
size_t
dataLen)
final
;
56
60
unique_ptr<Transform::OBuffer>
61
toHex(
const
uint8_t* data,
size_t
dataLen);
62
63
private
:
64
bool
m_useUpperCase;
65
};
66
67
unique_ptr<Transform>
68
hexEncode
(
bool
useUpperCase =
false
);
69
70
}
// namespace transform
71
}
// namespace security
72
}
// namespace ndn
73
74
#endif // NDN_CXX_SECURITY_TRANSFORM_HEX_ENCODE_HPP
transform-base.hpp
There are three types of module in a transformation chain: Source, Transform, and Sink...
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::security::transform::hexEncode
unique_ptr< Transform > hexEncode(bool useUpperCase)
Definition:
hex-encode.cpp:69
ndn::security::transform::HexEncode
The module to perform hexadecimal encoding transformation.
Definition:
hex-encode.hpp:37
ndn::security::transform::HexEncode::HexEncode
HexEncode(bool useUpperCase=false)
Create a hex encoding module.
Definition:
hex-encode.cpp:38
ndn::security::transform::Transform
Abstraction of an intermediate transformation module.
Definition:
transform-base.hpp:185
security
ndnSIM
ndn-cxx
src
security
transform
hex-encode.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13