ztsdb
Public Member Functions | Static Public Attributes | Friends | List of all members
arr::ZString< S > Struct Template Reference

Public Member Functions

 ZString (const char *s)
 
 ZString (const char *s, const char *e)
 
 ZString (const std::string &s)
 
 ZString (const ZString &s)
 
 ZString (char c, size_t n)
 
ZStringoperator= (const ZString &s)
 
 operator std::string () const
 
char operator[] (unsigned pos) const
 
size_t find (char c, size_t pos=0) const
 
const char * c_str () const
 
size_t length () const
 
size_t size () const
 

Static Public Attributes

static const size_t STRING_SIZE = S
 

Friends

template<int U>
std::ostream & operator<< (std::ostream &os, const ZString< U > &s)
 
template<int U>
ZString< U > operator+ (const ZString< U > &s1, const ZString< U > &s2)
 
template<int U>
ZString< U > operator+ (const ZString< U > &s1, const char *s2)
 
template<int U>
ZString< U > operator+ (const char *s1, const ZString< U > &s2)
 
template<int U>
ZString< U > operator+ (const ZString< U > &s1, const std::string &s2)
 
template<int U>
ZString< U > operator+ (const std::string &s1, const ZString< U > &s2)
 
template<int U>
bool operator== (const ZString< U > &s1, const ZString< U > &s2)
 
template<int U>
bool operator!= (const ZString< U > &s1, const ZString< U > &s2)
 
template<int U>
bool operator<= (const ZString< U > &s1, const ZString< U > &s2)
 
template<int U>
bool operator< (const ZString< U > &s1, const ZString< U > &s2)
 
template<int U>
bool operator>= (const ZString< U > &s1, const ZString< U > &s2)
 
template<int U>
bool operator> (const ZString< U > &s1, const ZString< U > &s2)
 
template<int U>
bool operator== (const ZString< U > &s1, const char *s2)
 
template<int U>
bool operator!= (const ZString< U > &s1, const char *s2)
 
template<int U>
bool operator<= (const ZString< U > &s1, const char *s2)
 
template<int U>
bool operator< (const ZString< U > &s1, const char *s2)
 
template<int U>
bool operator>= (const ZString< U > &s1, const char *s2)
 
template<int U>
bool operator> (const ZString< U > &s1, const char *s2)
 

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