SSP21-CPP
ssp21
crypto
gen
ContainerFile.h
1
//
2
// _ _ ______ _ _ _ _ _ _ _
3
// | \ | | | ____| | (_) | (_) | | | |
4
// | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
5
// | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
6
// | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
7
// |_| \_|\___/ |______\__,_|_|\__|_|_| |_|\__, (_|_|_)
8
// __/ |
9
// |___/
10
//
11
// This file is auto-generated. Do not edit manually
12
//
13
// Licensed under the terms of the BSDv3 license
14
//
15
16
#ifndef SSP21_CONTAINERFILE_H
17
#define SSP21_CONTAINERFILE_H
18
19
#include "ssp21/crypto/EnumField.h"
20
#include "ssp21/util/SequenceTypes.h"
21
#include "ssp21/crypto/SeqByteField.h"
22
#include "ssp21/crypto/gen/ParseError.h"
23
#include "ssp21/crypto/gen/FormatError.h"
24
#include "ssp21/crypto/IMessagePrinter.h"
25
#include "ssp21/crypto/gen/ContainerEntryType.h"
26
27
namespace
ssp21
{
28
29
struct
ContainerFile
final
30
{
31
ContainerFile
();
32
33
ContainerFile
(
34
ContainerEntryType
container_entry_type,
35
const
seq32_t
& payload
36
);
37
38
size_t
size()
const
;
39
40
static
const
uint8_t min_size_bytes = 2;
41
42
EnumField<ContainerEntryTypeSpec>
container_entry_type;
43
SeqByteField
payload;
44
45
ParseError
read(
seq32_t
& input);
46
ParseError
read_all(
const
seq32_t
& input);
47
FormatError
write(
wseq32_t
& output)
const
;
48
void
print(
const
char
* name,
IMessagePrinter
& printer)
const
;
49
};
50
51
}
52
53
#endif
ssp21
SSP21-cpp main namespace.
Definition:
BufferTypes.h:12
ser4cpp::WSeq
Definition:
WSeq.h:42
ssp21::EnumField
Definition:
EnumField.h:14
ssp21::ParseError
ParseError
Definition:
ParseError.h:27
ssp21::ContainerFile
Definition:
ContainerFile.h:29
ssp21::IMessagePrinter
Definition:
IMessagePrinter.h:14
ssp21::SeqByteField
Definition:
SeqByteField.h:20
ssp21::ContainerEntryType
ContainerEntryType
Definition:
ContainerEntryType.h:27
ssp21::FormatError
FormatError
Definition:
FormatError.h:28
ser4cpp::RSeq
Definition:
RSeq.h:45
Generated on Tue Apr 9 2019 11:41:41 for SSP21-CPP by
1.8.15