ai::EncodedString< Traits > Class Template Reference
This class represents an encoded string.
More...
#include <IAICharacterEncoding.h>
List of all members.
Public Member Functions |
| EncodedString () |
| Default constructor.
|
| EncodedString (const EncodedString &s) |
| Copy constructor.
|
| EncodedString (const std::basic_string< typename Traits::unit_type > &s) |
| Creates an encoded-string object with an initial string value.
|
| EncodedString (const typename Traits::unit_type *s) |
| Creates an encoded-string object with an initial string value.
|
| EncodedString (const typename Traits::unit_type *s, size_t length) |
| Creates an encoded-string object with an initial string value.
|
EncodedString & | operator= (const EncodedString &s) |
| Assignment operator.
|
Static Public Member Functions |
template<class SrcTraits > |
static EncodedString< Traits > | cast (const EncodedString< SrcTraits > &src) |
Public Attributes |
std::basic_string< typename
Traits::unit_type > | string |
Detailed Description
template<class Traits>
class ai::EncodedString< Traits >
This class represents an encoded string.
Constructor & Destructor Documentation
Default constructor.
Creates an empty encoded-string object.
- Returns:
- The new object.
Copy constructor.
Creates a copy of an encoded-string object.
- Parameters:
-
| s | The encoded-string object to copy. |
- Returns:
- The new object.
Creates an encoded-string object with an initial string value.
- Parameters:
-
| s | The initial string, with the desired encoding. |
- Returns:
- The new object.
Creates an encoded-string object with an initial string value.
- Parameters:
-
| s | The initial string, a NULL terminated sequence of elements with the desired encoding. |
- Returns:
- The new object.
Creates an encoded-string object with an initial string value.
- Parameters:
-
| s | The initial string, a buffer containing a sequence of elements with the desired encoding. |
| length | The number of elements in the string buffer. |
- Returns:
- The new object.
Member Function Documentation
template<class Traits>
template<class SrcTraits >
Member Data Documentation
The documentation for this class was generated from the following file: