Fast CDR
Version 2.3.6
Fast CDR
Toggle main menu visibility
Loading...
Searching...
No Matches
CdrEncoding.hpp
1
// Copyright 2023 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef _FASTCDR_CDRENCODING_HPP_
16
#define _FASTCDR_CDRENCODING_HPP_
17
18
#include <cstdint>
19
20
namespace
eprosima
{
21
namespace
fastcdr
{
22
24
typedef
enum
25
{
27
CORBA_CDR
= 0,
29
DDS_CDR
= 1,
31
XCDRv1
= 2,
33
XCDRv2
= 3
34
}
CdrVersion
;
35
37
typedef
enum : uint8_t
38
{
40
PLAIN_CDR
= 0x0,
42
PL_CDR
= 0x2,
44
PLAIN_CDR2
= 0x6,
46
DELIMIT_CDR2
= 0x8,
48
PL_CDR2
= 0xa
49
}
EncodingAlgorithmFlag
;
50
51
}
// namespace fastcdr
52
}
// namespace eprosima
53
54
#endif
// _FASTCDR_CDRENCODING_HPP_
eprosima::fastcdr
Definition
Cdr.h:50
eprosima::fastcdr::EncodingAlgorithmFlag
EncodingAlgorithmFlag
This enumeration represents the supported XCDR encoding algorithms.
Definition
CdrEncoding.hpp:38
eprosima::fastcdr::PL_CDR2
@ PL_CDR2
Specifies that the content is PL_CDR2.
Definition
CdrEncoding.hpp:48
eprosima::fastcdr::DELIMIT_CDR2
@ DELIMIT_CDR2
Specifies that the content is DELIMIT_CDR2.
Definition
CdrEncoding.hpp:46
eprosima::fastcdr::PL_CDR
@ PL_CDR
Specifies that the content is PL_CDR,.
Definition
CdrEncoding.hpp:42
eprosima::fastcdr::PLAIN_CDR
@ PLAIN_CDR
Specifies that the content is PLAIN_CDR.
Definition
CdrEncoding.hpp:40
eprosima::fastcdr::PLAIN_CDR2
@ PLAIN_CDR2
Specifies that the content is PLAIN_CDR2.
Definition
CdrEncoding.hpp:44
eprosima::fastcdr::CdrVersion
CdrVersion
This enumeration represents the kinds of CDR serialization supported by eprosima::fastcdr::CDR.
Definition
CdrEncoding.hpp:25
eprosima::fastcdr::DDS_CDR
@ DDS_CDR
DDS CDR serialization.
Definition
CdrEncoding.hpp:29
eprosima::fastcdr::CORBA_CDR
@ CORBA_CDR
Common CORBA CDR serialization.
Definition
CdrEncoding.hpp:27
eprosima::fastcdr::XCDRv2
@ XCDRv2
XCDRv2 encoding defined by standard DDS X-Types 1.3.
Definition
CdrEncoding.hpp:33
eprosima::fastcdr::XCDRv1
@ XCDRv1
XCDRv1 encoding defined by standard DDS X-Types 1.3.
Definition
CdrEncoding.hpp:31
eprosima
Definition
Cdr.h:49
include
fastcdr
CdrEncoding.hpp
Generated on
for