Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
glooxwrapper::string Class Reference

#include <glooxwrapper.h>

Public Member Functions

 string ()
 
 string (const string &str)
 
 string (const std::string &str)
 
 string (const char *str)
 
stringoperator= (const string &str)
 
 ~string ()
 
std::string to_string () const
 Gloox strings are UTF encoded, so don't forget to decode it before passing it to the GUI! More...
 
const char * c_str () const
 
bool empty () const
 
bool operator== (const char *str) const
 
bool operator!= (const char *str) const
 
bool operator== (const string &str) const
 
bool operator< (const string &str) const
 

Private Attributes

size_t m_Size
 
char * m_Data
 

Constructor & Destructor Documentation

◆ string() [1/4]

glooxwrapper::string::string ( )
inline

◆ string() [2/4]

glooxwrapper::string::string ( const string str)
inline

◆ string() [3/4]

glooxwrapper::string::string ( const std::string &  str)
inline

◆ string() [4/4]

glooxwrapper::string::string ( const char *  str)
inline

◆ ~string()

glooxwrapper::string::~string ( )
inline

Member Function Documentation

◆ c_str()

const char * glooxwrapper::string::c_str ( ) const
inline

◆ empty()

bool glooxwrapper::string::empty ( ) const
inline

◆ operator!=()

bool glooxwrapper::string::operator!= ( const char *  str) const
inline

◆ operator<()

bool glooxwrapper::string::operator< ( const string str) const
inline

◆ operator=()

string & glooxwrapper::string::operator= ( const string str)
inline

◆ operator==() [1/2]

bool glooxwrapper::string::operator== ( const char *  str) const
inline

◆ operator==() [2/2]

bool glooxwrapper::string::operator== ( const string str) const
inline

◆ to_string()

std::string glooxwrapper::string::to_string ( ) const
inline

Gloox strings are UTF encoded, so don't forget to decode it before passing it to the GUI!

Member Data Documentation

◆ m_Data

char* glooxwrapper::string::m_Data
private

◆ m_Size

size_t glooxwrapper::string::m_Size
private

The documentation for this class was generated from the following file: