|
LibreOffice Module binaryurp (master) 1
|
#include <unmarshal.hxx>
Public Member Functions | |
| Unmarshal (rtl::Reference< Bridge > bridge, ReaderState &state, com::sun::star::uno::Sequence< sal_Int8 > const &buffer) | |
| ~Unmarshal () | |
| sal_uInt8 | read8 () |
| sal_uInt16 | read16 () |
| sal_uInt32 | read32 () |
| com::sun::star::uno::TypeDescription | readType () |
| OUString | readOid () |
| rtl::ByteSequence | readTid () |
| BinaryAny | readValue (com::sun::star::uno::TypeDescription const &type) |
| void | done () const |
Private Member Functions | |
| Unmarshal (const Unmarshal &)=delete | |
| Unmarshal & | operator= (const Unmarshal &)=delete |
| void | check (sal_Int32 size) const |
| sal_uInt32 | readCompressed () |
| sal_uInt16 | readCacheIndex () |
| sal_uInt64 | read64 () |
| OUString | readString () |
| BinaryAny | readSequence (com::sun::star::uno::TypeDescription const &type) |
| void | readMemberValues (com::sun::star::uno::TypeDescription const &type, std::vector< BinaryAny > *values) |
Private Attributes | |
| rtl::Reference< Bridge > | bridge_ |
| ReaderState & | state_ |
| com::sun::star::uno::Sequence< sal_Int8 > | buffer_ |
| sal_uInt8 const * | data_ |
| sal_uInt8 const * | end_ |
Definition at line 40 of file unmarshal.hxx.
| binaryurp::Unmarshal::Unmarshal | ( | rtl::Reference< Bridge > | bridge, |
| ReaderState & | state, | ||
| com::sun::star::uno::Sequence< sal_Int8 > const & | buffer | ||
| ) |
| binaryurp::Unmarshal::~Unmarshal | ( | ) |
Definition at line 102 of file unmarshal.cxx.
|
privatedelete |
|
private |
Definition at line 363 of file unmarshal.cxx.
References binaryurp::cache::size.
| void binaryurp::Unmarshal::done | ( | ) | const |
Definition at line 356 of file unmarshal.cxx.
Referenced by binaryurp::Reader::execute().
| sal_uInt16 binaryurp::Unmarshal::read16 | ( | ) |
Definition at line 109 of file unmarshal.cxx.
Referenced by binaryurp::Reader::readMessage().
| sal_uInt32 binaryurp::Unmarshal::read32 | ( | ) |
Definition at line 115 of file unmarshal.cxx.
|
private |
Definition at line 384 of file unmarshal.cxx.
| sal_uInt8 binaryurp::Unmarshal::read8 | ( | ) |
Definition at line 104 of file unmarshal.cxx.
References check().
Referenced by binaryurp::Reader::readMessage().
|
private |
Definition at line 375 of file unmarshal.cxx.
References idx, binaryurp::cache::ignore, and binaryurp::cache::size.
|
private |
Definition at line 370 of file unmarshal.cxx.
References n.
|
private |
Definition at line 466 of file unmarshal.cxx.
| OUString binaryurp::Unmarshal::readOid | ( | ) |
Definition at line 203 of file unmarshal.cxx.
References i, idx, binaryurp::cache::ignore, and readString().
Referenced by binaryurp::Reader::readMessage().
|
private |
Definition at line 418 of file unmarshal.cxx.
References check(), i, n, nElements, nRefCount, p, SAL_MAX_INT32, SAL_SEQUENCE_HEADER_SIZE, binaryurp::cache::size, type, and uno_copyData().
|
private |
Definition at line 396 of file unmarshal.cxx.
References check(), n, and SAL_MAX_INT32.
| rtl::ByteSequence binaryurp::Unmarshal::readTid | ( | ) |
Definition at line 225 of file unmarshal.cxx.
References binaryurp::current_context::get(), getValue(), idx, and binaryurp::cache::ignore.
Referenced by binaryurp::Reader::getTid().
| css::uno::TypeDescription binaryurp::Unmarshal::readType | ( | ) |
Definition at line 123 of file unmarshal.cxx.
References idx, binaryurp::cache::ignore, readString(), t, and typelib_static_type_getByTypeClass().
Referenced by binaryurp::Reader::readMessage().
| BinaryAny binaryurp::Unmarshal::readValue | ( | com::sun::star::uno::TypeDescription const & | type | ) |
Definition at line 248 of file unmarshal.cxx.
References i, p, readString(), t, type, and v.
Referenced by binaryurp::Reader::readMessage(), and binaryurp::Reader::readReplyMessage().
|
private |
Definition at line 84 of file unmarshal.hxx.
|
private |
Definition at line 86 of file unmarshal.hxx.
|
private |
Definition at line 87 of file unmarshal.hxx.
|
private |
Definition at line 88 of file unmarshal.hxx.
|
private |
Definition at line 85 of file unmarshal.hxx.