Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <IService.h>
Public Member Functions | |
virtual | ~IBasicServiceData ()=default |
virtual IBasicReflectableConstPtr< ALLOC > | getReflectable () const =0 |
virtual Span< const uint8_t > | getData () const =0 |
Service data interface.
When reflectable interface is available, holds the reflectable object, otherwise holds the serialized data.
Definition at line 19 of file IService.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Gets service data as bytes.
Implemented in zserio::BasicRawServiceDataView< ALLOC >, zserio::BasicRawServiceDataHolder< ALLOC >, zserio::BasicObjectServiceData< ALLOC >, and zserio::BasicReflectableServiceData< ALLOC >.
|
pure virtual |
Gets reflectable representing the service data (if available).
Implemented in zserio::BasicRawServiceDataView< ALLOC >, zserio::BasicRawServiceDataHolder< ALLOC >, zserio::BasicObjectServiceData< ALLOC >, and zserio::BasicReflectableServiceData< ALLOC >.