LibreOffice Module binaryurp (master) 1
|
#include <marshal.hxx>
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 | |
Marshal & | operator= (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< Bridge > | bridge_ |
WriterState & | state_ |
Definition at line 40 of file marshal.hxx.
binaryurp::Marshal::Marshal | ( | rtl::Reference< Bridge > const & | bridge, |
WriterState & | state | ||
) |
Definition at line 89 of file marshal.cxx.
binaryurp::Marshal::~Marshal | ( | ) |
Definition at line 95 of file marshal.cxx.
|
privatedelete |
|
static |
Definition at line 102 of file marshal.cxx.
References value, and write8().
Referenced by binaryurp::Writer::sendRequest(), writeOid(), writeTid(), and writeType().
|
static |
Definition at line 107 of file marshal.cxx.
References value, and write8().
Referenced by binaryurp::Writer::sendMessage().
|
static |
Definition at line 97 of file marshal.cxx.
References value.
Referenced by binaryurp::Writer::sendReply(), binaryurp::Writer::sendRequest(), write16(), write32(), writeOid(), writeTid(), and writeType().
|
private |
Definition at line 272 of file marshal.cxx.
References i, type, writeMemberValues(), and writeValue().
Referenced by writeMemberValues().
void binaryurp::Marshal::writeOid | ( | std::vector< unsigned char > * | buffer, |
OUString const & | oid | ||
) |
Definition at line 148 of file marshal.cxx.
References binaryurp::Cache< T >::add(), idx, binaryurp::cache::ignore, binaryurp::WriterState::oidCache, state_, write16(), write8(), and writeString().
Referenced by binaryurp::Writer::sendRequest().
void binaryurp::Marshal::writeTid | ( | std::vector< unsigned char > * | buffer, |
rtl::ByteSequence const & | tid | ||
) |
Definition at line 167 of file marshal.cxx.
References binaryurp::Cache< T >::add(), binaryurp::current_context::get(), idx, p, state_, binaryurp::WriterState::tidCache, write16(), write8(), and writeValue().
Referenced by binaryurp::Writer::sendReply(), and binaryurp::Writer::sendRequest().
void binaryurp::Marshal::writeType | ( | std::vector< unsigned char > * | buffer, |
com::sun::star::uno::TypeDescription const & | value | ||
) |
Definition at line 125 of file marshal.cxx.
References binaryurp::Cache< T >::add(), idx, state_, binaryurp::WriterState::typeCache, value, write16(), write8(), and writeString().
Referenced by binaryurp::Writer::sendRequest().
void binaryurp::Marshal::writeValue | ( | std::vector< unsigned char > * | buffer, |
com::sun::star::uno::TypeDescription const & | type, | ||
BinaryAny const & | value | ||
) |
Referenced by binaryurp::Writer::sendReply(), binaryurp::Writer::sendRequest(), writeMemberValues(), and writeTid().
|
private |
|
private |
Definition at line 82 of file marshal.hxx.
|
private |
Definition at line 83 of file marshal.hxx.
Referenced by writeOid(), writeTid(), and writeType().