|
REC RPC library
|
Serialization class for strings. More...
#include <rec_rpc_serialization_String.h>


Public Member Functions | |
| String () | |
| String (const QString &s) | |
| String (const std::string &s) | |
| String (const std::wstring &s) | |
| String (const char *s) | |
| String (const wchar_t *s) | |
| std::string | toStdString () const |
| Convert the stored string to a std::string. More... | |
| void | setStdString (const std::string &s) |
| Modify the stored string with a std::string. More... | |
| std::wstring | toStdWString () const |
| Convert the stored string to a std::wstring. More... | |
| void | setStdWString (const std::wstring &s) |
| Modify the stored string with a std::wstring. More... | |
| void | setCString (const char *s) |
| Modify the stored string with a C string. More... | |
| void | setCWString (const wchar_t *s) |
| Modify the stored string with a C wide character string. More... | |
| String () | |
| String (const QString &s) | |
| String (const std::string &s) | |
| String (const std::wstring &s) | |
| String (const char *s) | |
| String (const wchar_t *s) | |
| std::string | toStdString () const |
| Convert the stored string to a std::string. More... | |
| void | setStdString (const std::string &s) |
| Modify the stored string with a std::string. More... | |
| std::wstring | toStdWString () const |
| Convert the stored string to a std::wstring. More... | |
| void | setStdWString (const std::wstring &s) |
| Modify the stored string with a std::wstring. More... | |
| void | setCString (const char *s) |
| Modify the stored string with a C string. More... | |
| void | setCWString (const wchar_t *s) |
| Modify the stored string with a C wide character string. More... | |
Public Member Functions inherited from rec::rpc::serialization::Serializable | |
| Serializable () | |
| virtual | ~Serializable () |
Additional Inherited Members | |
Static Public Attributes inherited from rec::rpc::serialization::Serializable | |
| static SerializablePtr | empty |
Serialization class for strings.
Definition at line 42 of file rec_rpc_serialization_String.h.
| rec::rpc::serialization::String::String | ( | ) |
Creates a container storing an empty string.
| rec::rpc::serialization::String::String | ( | const QString & | s | ) |
Creates a container storing s.
| rec::rpc::serialization::String::String | ( | const std::string & | s | ) |
Converts s to a QString and creates a container storing it.
| rec::rpc::serialization::String::String | ( | const std::wstring & | s | ) |
Converts s to a QString and creates a container storing it.
| rec::rpc::serialization::String::String | ( | const char * | s | ) |
Converts s to a QString and creates a container storing it.
| rec::rpc::serialization::String::String | ( | const wchar_t * | s | ) |
Converts s to a QString and creates a container storing it.
| rec::rpc::serialization::String::String | ( | ) |
Creates a container storing an empty string.
| rec::rpc::serialization::String::String | ( | const QString & | s | ) |
Creates a container storing s.
| rec::rpc::serialization::String::String | ( | const std::string & | s | ) |
Converts s to a QString and creates a container storing it.
| rec::rpc::serialization::String::String | ( | const std::wstring & | s | ) |
Converts s to a QString and creates a container storing it.
| rec::rpc::serialization::String::String | ( | const char * | s | ) |
Converts s to a QString and creates a container storing it.
| rec::rpc::serialization::String::String | ( | const wchar_t * | s | ) |
Converts s to a QString and creates a container storing it.
| void rec::rpc::serialization::String::setCString | ( | const char * | s | ) |
Modify the stored string with a C string.
| void rec::rpc::serialization::String::setCString | ( | const char * | s | ) |
Modify the stored string with a C string.
| void rec::rpc::serialization::String::setCWString | ( | const wchar_t * | s | ) |
Modify the stored string with a C wide character string.
| void rec::rpc::serialization::String::setCWString | ( | const wchar_t * | s | ) |
Modify the stored string with a C wide character string.
| void rec::rpc::serialization::String::setStdString | ( | const std::string & | s | ) |
Modify the stored string with a std::string.
| void rec::rpc::serialization::String::setStdString | ( | const std::string & | s | ) |
Modify the stored string with a std::string.
| void rec::rpc::serialization::String::setStdWString | ( | const std::wstring & | s | ) |
Modify the stored string with a std::wstring.
| void rec::rpc::serialization::String::setStdWString | ( | const std::wstring & | s | ) |
Modify the stored string with a std::wstring.
| std::string rec::rpc::serialization::String::toStdString | ( | ) | const |
Convert the stored string to a std::string.
| std::string rec::rpc::serialization::String::toStdString | ( | ) | const |
Convert the stored string to a std::string.
| std::wstring rec::rpc::serialization::String::toStdWString | ( | ) | const |
Convert the stored string to a std::wstring.
| std::wstring rec::rpc::serialization::String::toStdWString | ( | ) | const |
Convert the stored string to a std::wstring.
1.8.11