Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
eprosima::fastcdr::Cdr::state Class Reference

This class stores the current state of a CDR serialization. More...

#include <Cdr.h>

Public Member Functions

 state (const Cdr &cdr)
 Default constructor. More...
 
 state (const state &)
 Copy constructor. More...
 

Private Member Functions

stateoperator= (const state &)=delete
 

Private Attributes

const FastBuffer::iterator m_alignPosition
 The position from the aligment is calculated, when the state was created.. More...
 
const FastBuffer::iterator m_currentPosition
 The position in the buffer when the state was created. More...
 
size_t m_lastDataSize
 Stores the last datasize serialized/deserialized when the state was created. More...
 
bool m_swapBytes
 This attribute specified if it is needed to swap the bytes when the state was created.. More...
 

Friends

class Cdr
 

Detailed Description

This class stores the current state of a CDR serialization.

Definition at line 91 of file Cdr.h.

Constructor & Destructor Documentation

◆ state() [1/2]

Cdr::state::state ( const Cdr cdr)

Default constructor.

Definition at line 29 of file Cdr.cpp.

◆ state() [2/2]

Cdr::state::state ( const state current_state)

Copy constructor.

Definition at line 38 of file Cdr.cpp.

Member Function Documentation

◆ operator=()

state& eprosima::fastcdr::Cdr::state::operator= ( const state )
privatedelete

Friends And Related Function Documentation

◆ Cdr

friend class Cdr
friend

Definition at line 93 of file Cdr.h.

Member Data Documentation

◆ m_alignPosition

const FastBuffer::iterator eprosima::fastcdr::Cdr::state::m_alignPosition
private

The position from the aligment is calculated, when the state was created..

Definition at line 118 of file Cdr.h.

◆ m_currentPosition

const FastBuffer::iterator eprosima::fastcdr::Cdr::state::m_currentPosition
private

The position in the buffer when the state was created.

Definition at line 115 of file Cdr.h.

◆ m_lastDataSize

size_t eprosima::fastcdr::Cdr::state::m_lastDataSize
private

Stores the last datasize serialized/deserialized when the state was created.

Definition at line 124 of file Cdr.h.

◆ m_swapBytes

bool eprosima::fastcdr::Cdr::state::m_swapBytes
private

This attribute specified if it is needed to swap the bytes when the state was created..

Definition at line 121 of file Cdr.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:56