22 #ifndef _IGNITE_BINARY_BINARY_OBJECT
23 #define _IGNITE_BINARY_BINARY_OBJECT
27 #include <ignite/impl/binary/binary_object_impl.h>
35 class BinaryWriterImpl;
49 friend class ignite::impl::binary::BinaryWriterImpl;
57 BinaryObject(
const impl::binary::BinaryObjectImpl& impl) :
72 BinaryObject(impl::interop::InteropMemory& mem, int32_t start,
73 impl::binary::BinaryIdResolver* idRslvr, impl::binary::BinaryTypeManager* metaMgr) :
74 impl(mem, start, idRslvr, metaMgr)
114 return impl.Deserialize<T>();
128 return impl.GetField<T>(name);
140 return impl.HasField(name);
145 impl::binary::BinaryObjectImpl impl;
152 return BinaryObject(impl.GetField<impl::binary::BinaryObjectImpl>(name));
157 #endif //_IGNITE_BINARY_BINARY_OBJECT