PLCnext API Documentation 25.0.2.69
|
This class serves as base class for all serialization contexts supported by RSC. More...
#include <SerializationContext.hpp>
Public Member Functions | |
SerializationContext (SerializationKind kind) | |
Constructs a serialization context with the supplied serialization kind. More... | |
SerializationContext (const SerializationContext &arg) | |
The default copy constructor. More... | |
SerializationContext (SerializationContext &&arg) noexcept | |
The default move constructor. More... | |
SerializationContext & | operator= (const SerializationContext &arg) |
The default copy-assignment operator. More... | |
SerializationContext & | operator= (SerializationContext &&arg) noexcept |
The default move-assignment operator. More... | |
virtual | ~SerializationContext (void) |
The default destructor. | |
SerializationKind | GetSerializationKind (void) const |
Gets the serialization kind of this context. More... | |
This class serves as base class for all serialization contexts supported by RSC.
The RSC supports different kinds of remote communication, which require different kinds of serialization, e.g. the ARP remoting technology implements a very compact binary protocol, while the WBM technology uses a textual protocol based on JSON.
This class is not intended for direct use, but required by RscGenerator to implement services.
|
explicit |
Constructs a serialization context with the supplied serialization kind.
kind | The serialization kind of this context. |
|
default |
The default copy constructor.
arg | The argument to copy. |
|
defaultnoexcept |
The default move constructor.
arg | The argument to move. |
SerializationKind Arp::Base::Rsc::Commons::Services::SerializationContext::GetSerializationKind | ( | void | ) | const |
Gets the serialization kind of this context.
|
default |
The default copy-assignment operator.
arg | The argument to copy. |
|
defaultnoexcept |
The default move-assignment operator.
arg | The argument to move. |