Hazelcast C++ Client
Hazelcast C++ Client Library
Loading...
Searching...
No Matches
hazelcast::client::serialization::BasePredicateSerializer< T > Struct Template Reference
Inheritance diagram for hazelcast::client::serialization::BasePredicateSerializer< T >:

Static Public Member Functions

static constexpr int32_t get_factory_id () noexcept
static void write_data (const T &object, object_data_output &out)
 Defines how this class will be written.
static T read_data (object_data_input &in)
 Should not be called at the client side!

Detailed Description

template<typename T>
struct hazelcast::client::serialization::BasePredicateSerializer< T >

Definition at line 342 of file predicates.h.

Member Function Documentation

◆ get_factory_id()

template<typename T>
constexpr int32_t hazelcast::client::serialization::BasePredicateSerializer< T >::get_factory_id ( )
inlinestaticconstexprnoexcept
Returns
factory id

Definition at line 347 of file predicates.h.

◆ read_data()

template<typename T>
T hazelcast::client::serialization::BasePredicateSerializer< T >::read_data ( object_data_input & in)
inlinestatic

Should not be called at the client side!

Definition at line 365 of file predicates.h.

366 {
367 // Not need to read at the client side
369 "readData", "Client should not need to use readdata method!!!"));
370 }

◆ write_data()

template<typename T>
void hazelcast::client::serialization::BasePredicateSerializer< T >::write_data ( const T & object,
object_data_output & out )
inlinestatic

Defines how this class will be written.

Parameters
writerobject_data_output

Definition at line 357 of file predicates.h.

358 {
359 out.append_bytes(object.out_stream.to_byte_array());
360 }

The documentation for this struct was generated from the following file: