Go to the source code of this file.
#define DECLARE_STRING_MEMBER |
( |
|
NAME | ) |
|
Value:private: \
QSharedPointer< rec::rpc::serialization::String > _##NAME; \
public: \
const QString& NAME() const { return *_##NAME; } \
QString& NAME() { return *_##NAME; } \
void set##NAME( const QString& value ) { _##NAME->setValue( value ); }
Serialization class for strings.
Complex data container member definition for strings.
Place this macro into the declaration of a rec::rpc::serialization::Complex subclass to add a string. It can be accessed via NAME() (const and non-const).
- Parameters
-
- See also
- rec::rpc::serialization::Complex
Definition at line 87 of file String.h.
Function parameter type definition.
- Parameters
-
FUNCTIONNAME | Name of the RPC function. |
Definition at line 101 of file String.h.
Function result type definition.
- Parameters
-
FUNCTIONNAME | Name of the RPC function. |
Definition at line 108 of file String.h.
Topic data type definition.
- Parameters
-
TOPICNAME | Name of the topic. |
Definition at line 115 of file String.h.