#include <ulxr_signature.h>
Public Member Functions | |
| Signature () | |
| Constructs an empty signature. | |
| Signature (const CppString &s) | |
| Constructs a signature from a single parameter. | |
| Signature (const ValueBase &v) | |
| Constructs a signature from a single parameter. | |
| Signature (const Void &v) | |
| Constructs a signature from a void type. | |
| Signature & | addParam (const CppString &s) |
| Adds another parameter to the signature. | |
| Signature & | addParam (const Value &v) |
| Adds another parameter to the signature. | |
| Signature & | operator<< (const CppString &s) |
| Adds another parameter to the signature. | |
| Signature & | operator<< (const Value &v) |
| Adds another parameter to the signature. | |
| CppString | getString () const |
| Return the complete signature string. | |
Private Attributes | |
| CppString | sig |
Signature()
.addParam(Integer())
.addParam(String())
.....
Signature(Integer()).addParam(String())
.....
Signature() << RpcString() << Integer();
Definition at line 58 of file ulxr_signature.h.
| ulxr::Signature::Signature | ( | ) |
| ulxr::Signature::Signature | ( | const CppString & | s | ) |
Constructs a signature from a single parameter.
| s | rpc name of the parameter (int, string, ...) |
Definition at line 50 of file ulxr_signature.cpp.
References sig.
| ulxr::Signature::Signature | ( | const ValueBase & | v | ) |
Constructs a signature from a single parameter.
| v | rpc value |
Definition at line 56 of file ulxr_signature.cpp.
References ulxr::ValueBase::getSignature(), and sig.
| ulxr::Signature::Signature | ( | const Void & | v | ) |
Constructs a signature from a void type.
Only exists for completeness and yields the same as the default constructor.
| v | void value |
Definition at line 45 of file ulxr_signature.cpp.
Adds another parameter to the signature.
| s | rpc name of the parameter |
Definition at line 71 of file ulxr_signature.cpp.
References sig, and ULXR_PCHAR.
Referenced by operator<<().
Adds another parameter to the signature.
| v | rpc value |
Definition at line 62 of file ulxr_signature.cpp.
References ulxr::Value::getSignature(), sig, and ULXR_PCHAR.
Adds another parameter to the signature.
| s | rpc name of the parameter |
Definition at line 93 of file ulxr_signature.cpp.
References addParam().
Adds another parameter to the signature.
| v | rpc value |
Definition at line 86 of file ulxr_signature.cpp.
References addParam().
| CppString ulxr::Signature::getString | ( | ) | const |
Return the complete signature string.
Definition at line 80 of file ulxr_signature.cpp.
CppString ulxr::Signature::sig [private] |
1.5.1