#include <SPL/Runtime/Type/String.h>
List of all members.
Static Public Member Functions
|
| template<class T > |
| static rstring |
toString (T const &value) |
Constructor & Destructor Documentation
| SPL::rstring::rstring |
( |
|
) |
|
|
inlineexplicit |
| SPL::rstring::rstring |
( |
const std::string & |
str |
) |
|
|
inline |
Copy constructor
- Parameters:
-
| str |
string to construct from |
| SPL::rstring::rstring |
( |
const std::string & |
str, |
|
|
size_t |
pos, |
|
|
size_t |
n = npos |
|
) |
|
|
|
inline |
Constructor
- Parameters:
-
| str |
string to construct from |
| pos |
index within str to start copying |
| n |
number of bytes to copy |
| SPL::rstring::rstring |
( |
const char * |
s, |
|
|
size_t |
n |
|
) |
|
|
|
inline |
Constructor
- Parameters:
-
| s |
pointer to a character array |
| n |
number of bytes to copy |
| SPL::rstring::rstring |
( |
const char * |
s |
) |
|
|
inline |
Constructor
- Parameters:
-
| s |
NULL terminated string to construct from |
| SPL::rstring::rstring |
( |
size_t |
n, |
|
|
char |
c |
|
) |
|
|
|
inline |
Constructor
- Parameters:
-
| n |
number of bytes to use |
| c |
character to initialize the bytes |
template<class InputIterator >
| SPL::rstring::rstring |
( |
InputIterator |
beginIn, |
|
|
InputIterator |
endIn |
|
) |
|
|
|
inline |
Constructor
- Parameters:
-
| beginIn |
begin iterator |
| endIn |
end iterator |
Member Function Documentation
Assignment operator
- Parameters:
-
- Returns:
- this
| size_t SPL::rstring::hashCode |
( |
|
) |
const |
|
inline |
Get the hash code
- Returns:
- hash code
| size_t SPL::rstring::getSerializedSize |
( |
|
) |
const |
|
inline |
Get the size in bytes when serialized
- Returns:
- size in bytes when serialized
| rstring SPL::rstring::at |
( |
uint32_t |
index |
) |
const |
|
inline |
Select one character from an rstring
- Parameters:
-
| index |
logical character position |
- Returns:
- an rstring consisting of the logical character at position index
- Exceptions:
-
| std::string& SPL::rstring::string |
( |
|
) |
|
|
inline |
Return std::string representation
- Returns:
- std::string representation
| std::string const& SPL::rstring::string |
( |
|
) |
const |
|
inline |
Return std::string representation
- Returns:
- std::string representation
template<class T >
| static rstring SPL::rstring::toString |
( |
T const & |
value |
) |
|
|
inlinestatic |
Convert an SPL value to string
- Parameters:
-
- Returns:
- rstring representation
The documentation for this class was generated from the following file: