LibreOffice Module binaryurp (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
binaryurp::Marshal Class Reference

#include <marshal.hxx>

Collaboration diagram for binaryurp::Marshal:
[legend]

Public Member Functions

 Marshal (rtl::Reference< Bridge > const &bridge, WriterState &state)
 
 ~Marshal ()
 
void writeValue (std::vector< unsigned char > *buffer, com::sun::star::uno::TypeDescription const &type, BinaryAny const &value)
 
void writeType (std::vector< unsigned char > *buffer, com::sun::star::uno::TypeDescription const &value)
 
void writeOid (std::vector< unsigned char > *buffer, OUString const &oid)
 
void writeTid (std::vector< unsigned char > *buffer, rtl::ByteSequence const &tid)
 

Static Public Member Functions

static void write8 (std::vector< unsigned char > *buffer, sal_uInt8 value)
 
static void write16 (std::vector< unsigned char > *buffer, sal_uInt16 value)
 
static void write32 (std::vector< unsigned char > *buffer, sal_uInt32 value)
 

Private Member Functions

 Marshal (const Marshal &)=delete
 
Marshaloperator= (const Marshal &)=delete
 
void writeValue (std::vector< unsigned char > *buffer, com::sun::star::uno::TypeDescription const &type, void const *value)
 
void writeMemberValues (std::vector< unsigned char > *buffer, com::sun::star::uno::TypeDescription const &type, void const *aggregateValue)
 

Private Attributes

rtl::Reference< Bridgebridge_
 
WriterStatestate_
 

Detailed Description

Definition at line 40 of file marshal.hxx.

Constructor & Destructor Documentation

◆ Marshal() [1/2]

binaryurp::Marshal::Marshal ( rtl::Reference< Bridge > const &  bridge,
WriterState state 
)

Definition at line 89 of file marshal.cxx.

◆ ~Marshal()

binaryurp::Marshal::~Marshal ( )

Definition at line 95 of file marshal.cxx.

◆ Marshal() [2/2]

binaryurp::Marshal::Marshal ( const Marshal )
privatedelete

Member Function Documentation

◆ operator=()

Marshal & binaryurp::Marshal::operator= ( const Marshal )
privatedelete

◆ write16()

void binaryurp::Marshal::write16 ( std::vector< unsigned char > *  buffer,
sal_uInt16  value 
)
static

Definition at line 102 of file marshal.cxx.

References value, and write8().

Referenced by binaryurp::Writer::sendRequest(), writeOid(), writeTid(), and writeType().

◆ write32()

void binaryurp::Marshal::write32 ( std::vector< unsigned char > *  buffer,
sal_uInt32  value 
)
static

Definition at line 107 of file marshal.cxx.

References value, and write8().

Referenced by binaryurp::Writer::sendMessage().

◆ write8()

void binaryurp::Marshal::write8 ( std::vector< unsigned char > *  buffer,
sal_uInt8  value 
)
static

◆ writeMemberValues()

void binaryurp::Marshal::writeMemberValues ( std::vector< unsigned char > *  buffer,
com::sun::star::uno::TypeDescription const &  type,
void const *  aggregateValue 
)
private

Definition at line 272 of file marshal.cxx.

References i, type, writeMemberValues(), and writeValue().

Referenced by writeMemberValues().

◆ writeOid()

void binaryurp::Marshal::writeOid ( std::vector< unsigned char > *  buffer,
OUString const &  oid 
)

◆ writeTid()

void binaryurp::Marshal::writeTid ( std::vector< unsigned char > *  buffer,
rtl::ByteSequence const &  tid 
)

◆ writeType()

void binaryurp::Marshal::writeType ( std::vector< unsigned char > *  buffer,
com::sun::star::uno::TypeDescription const &  value 
)

◆ writeValue() [1/2]

void binaryurp::Marshal::writeValue ( std::vector< unsigned char > *  buffer,
com::sun::star::uno::TypeDescription const &  type,
BinaryAny const &  value 
)

◆ writeValue() [2/2]

void binaryurp::Marshal::writeValue ( std::vector< unsigned char > *  buffer,
com::sun::star::uno::TypeDescription const &  type,
void const *  value 
)
private

Member Data Documentation

◆ bridge_

rtl::Reference< Bridge > binaryurp::Marshal::bridge_
private

Definition at line 82 of file marshal.hxx.

◆ state_

WriterState& binaryurp::Marshal::state_
private

Definition at line 83 of file marshal.hxx.

Referenced by writeOid(), writeTid(), and writeType().


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