Fast CDR  Version 2.2.4
Fast CDR
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
20namespace eprosima {
21namespace fastcdr {
22
24typedef enum
25{
31 XCDRv1 = 2,
33 XCDRv2 = 3
35
37typedef enum : uint8_t
38{
40 PLAIN_CDR = 0x0,
42 PL_CDR = 0x2,
48 PL_CDR2 = 0xa
50
51} // namespace fastcdr
52} // namespace eprosima
53
54#endif // _FASTCDR_CDRENCODING_HPP_
EncodingAlgorithmFlag
This enumeration represents the supported XCDR encoding algorithms.
Definition CdrEncoding.hpp:38
@ PL_CDR2
Specifies that the content is PL_CDR2.
Definition CdrEncoding.hpp:48
@ DELIMIT_CDR2
Specifies that the content is DELIMIT_CDR2.
Definition CdrEncoding.hpp:46
@ PL_CDR
Specifies that the content is PL_CDR,.
Definition CdrEncoding.hpp:42
@ PLAIN_CDR
Specifies that the content is PLAIN_CDR.
Definition CdrEncoding.hpp:40
@ PLAIN_CDR2
Specifies that the content is PLAIN_CDR2.
Definition CdrEncoding.hpp:44
CdrVersion
This enumeration represents the kinds of CDR serialization supported by eprosima::fastcdr::CDR.
Definition CdrEncoding.hpp:25
@ DDS_CDR
DDS CDR serialization.
Definition CdrEncoding.hpp:29
@ CORBA_CDR
Common CORBA CDR serialization.
Definition CdrEncoding.hpp:27
@ XCDRv2
XCDRv2 encoding defined by standard DDS X-Types 1.3.
Definition CdrEncoding.hpp:33
@ XCDRv1
XCDRv1 encoding defined by standard DDS X-Types 1.3.
Definition CdrEncoding.hpp:31
Definition Cdr.h:48