Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
eprosima::fastcdr Namespace Reference

Namespaces

 detail
 
 exception
 

Classes

class  _FastBuffer_iterator
 This class implements the iterator used to go through a FastBuffer. More...
 
class  Cdr
 This class offers an interface to serialize/deserialize some basic types using CDR protocol inside an eprosima::fastcdr::FastBuffer. More...
 
class  CdrSizeCalculator
 This class offers an interface to calculate the encoded size of a type serialized using a support encoding algorithm. More...
 
class  external
 This class template manages an external member, a member declared to be external to the storage of a type. More...
 
class  FastBuffer
 This class represents a stream of bytes that contains (or will contain) serialized data. This class is used by the serializers to serialize or deserialize using their representation. More...
 
class  FastCdr
 This class offers an interface to serialize/deserialize some basic types using a modified CDR protocol inside a eprosima::FastBuffer. This modified CDR protocol provides a serialization mechanism much faster than common CDR protocol, because it doesn't use alignment. More...
 
struct  fixed_string
 Template class for non-alloc strings. More...
 
class  MemberId
 
struct  nullopt_t
 An empty class type used to indicate optional type with uninitialized state. More...
 
class  optional
 This class template manages an optional contained value, i.e. a value that may or may not be present. More...
 

Typedefs

using string_255 = fixed_string< 255 >
 

Enumerations

enum  CdrVersion { CORBA_CDR = 0, DDS_CDR = 1, XCDRv1 = 2, XCDRv2 = 3 }
 This enumeration represents the kinds of CDR serialization supported by eprosima::fastcdr::CDR. More...
 
enum  EncodingAlgorithmFlag : uint8_t {
  PLAIN_CDR = 0x0, PL_CDR = 0x2, PLAIN_CDR2 = 0x6, DELIMIT_CDR2 = 0x8,
  PL_CDR2 = 0xa
}
 This enumeration represents the supported XCDR encoding algorithms. More...
 

Functions

size_t alignment_on_state (const FastBuffer::iterator &origin, const FastBuffer::iterator &offset, size_t data_size)
 
template<class _T >
size_t calculate_serialized_size (CdrSizeCalculator &, const _T &, size_t &)
 
template<class _T >
void deserialize (Cdr &, _T &)
 
constexpr bool is_multi_array_primitive (...)
 Basis. More...
 
template<typename _T , typename std::enable_if< std::is_enum< _T >::value||std::is_arithmetic< _T >::value >::type * = nullptr>
constexpr bool is_multi_array_primitive (_T const *)
 Specializations. More...
 
template<typename _T , size_t _N>
constexpr bool is_multi_array_primitive (std::array< _T, _N > const *)
 
constexpr uint8_t operator""_8u (unsigned long long int value)
 
template<class _T >
void serialize (Cdr &, const _T &)
 

Variables

static const MemberId MEMBER_ID_INVALID {}
 
static constexpr nullopt_t nullopt {0}
 nullopt is a constant of type nullopt_t that is used to indicate optional type with uninitialized state. More...
 
constexpr uint16_t PID_EXTENDED = 0x3F01
 
constexpr uint16_t PID_EXTENDED_LENGTH = 0x8
 
constexpr uint16_t PID_SENTINEL = 0x3F02
 
constexpr uint16_t PID_SENTINEL_LENGTH = 0x0
 

Typedef Documentation

◆ string_255

Definition at line 339 of file fixed_size_string.hpp.

Enumeration Type Documentation

◆ CdrVersion

This enumeration represents the kinds of CDR serialization supported by eprosima::fastcdr::CDR.

Enumerator
CORBA_CDR 

Common CORBA CDR serialization.

DDS_CDR 

DDS CDR serialization.

XCDRv1 

XCDRv1 encoding defined by standard DDS X-Types 1.3.

XCDRv2 

XCDRv2 encoding defined by standard DDS X-Types 1.3.

Definition at line 24 of file CdrEncoding.hpp.

◆ EncodingAlgorithmFlag

This enumeration represents the supported XCDR encoding algorithms.

Enumerator
PLAIN_CDR 

Specifies that the content is PLAIN_CDR.

PL_CDR 

Specifies that the content is PL_CDR,.

PLAIN_CDR2 

Specifies that the content is PLAIN_CDR2.

DELIMIT_CDR2 

Specifies that the content is DELIMIT_CDR2.

PL_CDR2 

Specifies that the content is PL_CDR2.

Definition at line 37 of file CdrEncoding.hpp.

Function Documentation

◆ alignment_on_state()

size_t eprosima::fastcdr::alignment_on_state ( const FastBuffer::iterator origin,
const FastBuffer::iterator offset,
size_t  data_size 
)
inline

Definition at line 42 of file Cdr.cpp.

◆ calculate_serialized_size()

template<class _T >
size_t eprosima::fastcdr::calculate_serialized_size ( CdrSizeCalculator ,
const _T &  ,
size_t &   
)

◆ deserialize()

template<class _T >
void eprosima::fastcdr::deserialize ( Cdr ,
_T &   
)

◆ is_multi_array_primitive() [1/3]

constexpr bool eprosima::fastcdr::is_multi_array_primitive (   ...)
constexpr

Basis.

Definition at line 27 of file container_recursive_inspector.hpp.

◆ is_multi_array_primitive() [2/3]

template<typename _T , typename std::enable_if< std::is_enum< _T >::value||std::is_arithmetic< _T >::value >::type * = nullptr>
constexpr bool eprosima::fastcdr::is_multi_array_primitive ( _T const *  )
constexpr

Specializations.

Definition at line 37 of file container_recursive_inspector.hpp.

◆ is_multi_array_primitive() [3/3]

template<typename _T , size_t _N>
constexpr bool eprosima::fastcdr::is_multi_array_primitive ( std::array< _T, _N > const *  )
constexpr

Definition at line 44 of file container_recursive_inspector.hpp.

◆ operator""_8u()

constexpr uint8_t eprosima::fastcdr::operator""_8u ( unsigned long long int  value)
constexpr

Definition at line 36 of file Cdr.cpp.

◆ serialize()

template<class _T >
void eprosima::fastcdr::serialize ( Cdr ,
const _T &   
)

Variable Documentation

◆ MEMBER_ID_INVALID

const MemberId eprosima::fastcdr::MEMBER_ID_INVALID {}
static

Definition at line 67 of file MemberId.hpp.

◆ nullopt

constexpr nullopt_t eprosima::fastcdr::nullopt {0}
staticconstexpr

nullopt is a constant of type nullopt_t that is used to indicate optional type with uninitialized state.

Definition at line 40 of file optional.hpp.

◆ PID_EXTENDED

constexpr uint16_t eprosima::fastcdr::PID_EXTENDED = 0x3F01
constexpr

Definition at line 31 of file Cdr.cpp.

◆ PID_EXTENDED_LENGTH

constexpr uint16_t eprosima::fastcdr::PID_EXTENDED_LENGTH = 0x8
constexpr

Definition at line 32 of file Cdr.cpp.

◆ PID_SENTINEL

constexpr uint16_t eprosima::fastcdr::PID_SENTINEL = 0x3F02
constexpr

Definition at line 33 of file Cdr.cpp.

◆ PID_SENTINEL_LENGTH

constexpr uint16_t eprosima::fastcdr::PID_SENTINEL_LENGTH = 0x0
constexpr

Definition at line 34 of file Cdr.cpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30