Gorgon Game Engine
TextualProperty< C_, T_, Getter_, Setter_ > Class Template Reference

Supports everything that string class supports including +, +=, length() More...

Inheritance diagram for TextualProperty< C_, T_, Getter_, Setter_ >:
[legend]

Public Member Functions

 TextualProperty (C_ &Object)
 
 TextualProperty (C_ *Object)
 
 TextualProperty (TextualProperty &&)=default
 
TextualPropertyappend (const char *str)
 
TextualPropertyappend (const char *str, typename T_::size_type n)
 
TextualPropertyappend (const T_ &str)
 
TextualPropertyappend (const T_ &str, typename T_::size_type pos, typename T_::size_type n)
 
template<class InputIterator >
TextualPropertyappend (InputIterator first, InputIterator last)
 
TextualPropertyappend (typename T_::size_type n, char c)
 
const char * c_str () const
 
void clear ()
 
TextualPropertyerase (typename T_::size_type pos=0, typename T_::size_type n=T_::npos)
 
T_::size_type find (char c, typename T_::size_type pos=0) const
 
T_::size_type find (const char *s, typename T_::size_type pos, typename T_::size_type n) const
 
T_::size_type find (const char *s, typename T_::size_type pos=0) const
 
T_::size_type find (const T_ &str, typename T_::size_type pos=0) const
 
T_::size_type find_first_not_of (char c, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_first_not_of (const char *s, typename T_::size_type pos, typename T_::size_type n) const
 
T_::size_type find_first_not_of (const char *s, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_first_not_of (const T_ &str, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_first_of (char c, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_first_of (const char *s, typename T_::size_type pos, typename T_::size_type n) const
 
T_::size_type find_first_of (const char *s, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_first_of (const T_ &str, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_last_not_of (char c, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_last_not_of (const char *s, typename T_::size_type pos, typename T_::size_type n) const
 
T_::size_type find_last_not_of (const char *s, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_last_not_of (const T_ &str, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_last_of (char c, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_last_of (const char *s, typename T_::size_type pos, typename T_::size_type n) const
 
T_::size_type find_last_of (const char *s, typename T_::size_type pos=T_::npos) const
 
T_::size_type find_last_of (const T_ &str, typename T_::size_type pos=T_::npos) const
 
TextualPropertyinsert (typename T_::size_type pos, const char *str)
 
TextualPropertyinsert (typename T_::size_type pos, const char *str, typename T_::size_type n)
 
TextualPropertyinsert (typename T_::size_type pos, const T_ str)
 
TextualPropertyinsert (typename T_::size_type pos, typename T_::size_type n, char c)
 
TextualPropertyinsert (typename T_::size_type pos1, const T_ str, typename T_::size_type pos2, typename T_::size_type n=T_::npos)
 
T_::size_type length () const
 
 operator const T_ () const
 
 operator T_ ()
 
void operator+= (const T_ &v)
 
template<class O_ >
TextualPropertyoperator= (const O_ &value)
 
template<class AC_ , T_(C_::*)() const G_, void(C_::*)(const T_ &) S_>
TextualPropertyoperator= (const Property< AC_, T_, G_, S_ > &prop)
 
TextualPropertyoperator= (TextualProperty &&)=default
 
const char & operator[] (typename T_::size_type pos) const
 
T_::size_type rfind (char c, typename T_::size_type pos=T_::npos) const
 
T_::size_type rfind (const char *s, typename T_::size_type pos, typename T_::size_type n) const
 
T_::size_type rfind (const char *s, typename T_::size_type pos=T_::npos) const
 
T_::size_type rfind (const T_ &str, typename T_::size_type pos=T_::npos) const
 
T_ substr (typename T_::size_type off=0U, typename T_::size_type len=T_::npos) const
 
- Public Member Functions inherited from Property< C_, T_, Getter_, Setter_ >
 Property (C_ &Object)
 
 Property (C_ *Object)
 
 Property (const Property &)=delete
 
 Property (Property &&)=default
 
T_ Get () const
 
 operator const T_ () const
 
 operator T_ ()
 
bool operator!= (const T_ &v) const
 
T_ operator* () const
 
template<class O_ >
Propertyoperator= (const O_ &value)
 
Propertyoperator= (const Property &)=delete
 
template<class AC_ , T_(AC_::*)() const G_, void(AC_::*)(const T_ &) S_>
Propertyoperator= (const Property< AC_, T_, G_, S_ > &prop)
 
Propertyoperator= (const T_ &value)
 
Propertyoperator= (Property &&)=default
 
bool operator== (const T_ &v) const
 
void Set (const T_ &value)
 

Additional Inherited Members

- Public Types inherited from Property< C_, T_, Getter_, Setter_ >
using Type = T_
 
- Protected Attributes inherited from Property< C_, T_, Getter_, Setter_ >
C_ & Object
 

Detailed Description

template<class C_, class T_, T_(C_::*)() const Getter_, void(C_::*)(const T_ &) Setter_>
class Gorgon::TextualProperty< C_, T_, Getter_, Setter_ >

Supports everything that string class supports including +, +=, length()

Constructor & Destructor Documentation

◆ TextualProperty() [1/3]

TextualProperty ( C_ *  Object)

◆ TextualProperty() [2/3]

TextualProperty ( C_ &  Object)

◆ TextualProperty() [3/3]

TextualProperty ( TextualProperty< C_, T_, Getter_, Setter_ > &&  )
default

Member Function Documentation

◆ append() [1/6]

TextualProperty& append ( const char *  str)

◆ append() [2/6]

TextualProperty& append ( const char *  str,
typename T_::size_type  n 
)

◆ append() [3/6]

TextualProperty& append ( const T_ &  str)

◆ append() [4/6]

TextualProperty& append ( const T_ &  str,
typename T_::size_type  pos,
typename T_::size_type  n 
)

◆ append() [5/6]

TextualProperty& append ( InputIterator  first,
InputIterator  last 
)

◆ append() [6/6]

TextualProperty& append ( typename T_::size_type  n,
char  c 
)

◆ c_str()

const char* c_str ( ) const

◆ clear()

void clear ( )

◆ erase()

TextualProperty& erase ( typename T_::size_type  pos = 0,
typename T_::size_type  n = T_::npos 
)

◆ find() [1/4]

T_::size_type find ( char  c,
typename T_::size_type  pos = 0 
) const

◆ find() [2/4]

T_::size_type find ( const char *  s,
typename T_::size_type  pos,
typename T_::size_type  n 
) const

◆ find() [3/4]

T_::size_type find ( const char *  s,
typename T_::size_type  pos = 0 
) const

◆ find() [4/4]

T_::size_type find ( const T_ &  str,
typename T_::size_type  pos = 0 
) const

◆ find_first_not_of() [1/4]

T_::size_type find_first_not_of ( char  c,
typename T_::size_type  pos = T_::npos 
) const

◆ find_first_not_of() [2/4]

T_::size_type find_first_not_of ( const char *  s,
typename T_::size_type  pos,
typename T_::size_type  n 
) const

◆ find_first_not_of() [3/4]

T_::size_type find_first_not_of ( const char *  s,
typename T_::size_type  pos = T_::npos 
) const

◆ find_first_not_of() [4/4]

T_::size_type find_first_not_of ( const T_ &  str,
typename T_::size_type  pos = T_::npos 
) const

◆ find_first_of() [1/4]

T_::size_type find_first_of ( char  c,
typename T_::size_type  pos = T_::npos 
) const

◆ find_first_of() [2/4]

T_::size_type find_first_of ( const char *  s,
typename T_::size_type  pos,
typename T_::size_type  n 
) const

◆ find_first_of() [3/4]

T_::size_type find_first_of ( const char *  s,
typename T_::size_type  pos = T_::npos 
) const

◆ find_first_of() [4/4]

T_::size_type find_first_of ( const T_ &  str,
typename T_::size_type  pos = T_::npos 
) const

◆ find_last_not_of() [1/4]

T_::size_type find_last_not_of ( char  c,
typename T_::size_type  pos = T_::npos 
) const

◆ find_last_not_of() [2/4]

T_::size_type find_last_not_of ( const char *  s,
typename T_::size_type  pos,
typename T_::size_type  n 
) const

◆ find_last_not_of() [3/4]

T_::size_type find_last_not_of ( const char *  s,
typename T_::size_type  pos = T_::npos 
) const

◆ find_last_not_of() [4/4]

T_::size_type find_last_not_of ( const T_ &  str,
typename T_::size_type  pos = T_::npos 
) const

◆ find_last_of() [1/4]

T_::size_type find_last_of ( char  c,
typename T_::size_type  pos = T_::npos 
) const

◆ find_last_of() [2/4]

T_::size_type find_last_of ( const char *  s,
typename T_::size_type  pos,
typename T_::size_type  n 
) const

◆ find_last_of() [3/4]

T_::size_type find_last_of ( const char *  s,
typename T_::size_type  pos = T_::npos 
) const

◆ find_last_of() [4/4]

T_::size_type find_last_of ( const T_ &  str,
typename T_::size_type  pos = T_::npos 
) const

◆ insert() [1/5]

TextualProperty& insert ( typename T_::size_type  pos,
const char *  str 
)

◆ insert() [2/5]

TextualProperty& insert ( typename T_::size_type  pos,
const char *  str,
typename T_::size_type  n 
)

◆ insert() [3/5]

TextualProperty& insert ( typename T_::size_type  pos,
const T_  str 
)

◆ insert() [4/5]

TextualProperty& insert ( typename T_::size_type  pos,
typename T_::size_type  n,
char  c 
)

◆ insert() [5/5]

TextualProperty& insert ( typename T_::size_type  pos1,
const T_  str,
typename T_::size_type  pos2,
typename T_::size_type  n = T_::npos 
)

◆ length()

T_::size_type length ( ) const

◆ operator const T_()

operator const T_ ( ) const

◆ operator T_()

operator T_ ( )

◆ operator+=()

void operator+= ( const T_ &  v)

◆ operator=() [1/3]

TextualProperty& operator= ( const O_ &  value)

◆ operator=() [2/3]

TextualProperty& operator= ( const Property< AC_, T_, G_, S_ > &  prop)

◆ operator=() [3/3]

TextualProperty& operator= ( TextualProperty< C_, T_, Getter_, Setter_ > &&  )
default

◆ operator[]()

const char& operator[] ( typename T_::size_type  pos) const

◆ rfind() [1/4]

T_::size_type rfind ( char  c,
typename T_::size_type  pos = T_::npos 
) const

◆ rfind() [2/4]

T_::size_type rfind ( const char *  s,
typename T_::size_type  pos,
typename T_::size_type  n 
) const

◆ rfind() [3/4]

T_::size_type rfind ( const char *  s,
typename T_::size_type  pos = T_::npos 
) const

◆ rfind() [4/4]

T_::size_type rfind ( const T_ &  str,
typename T_::size_type  pos = T_::npos 
) const

◆ substr()

T_ substr ( typename T_::size_type  off = 0U,
typename T_::size_type  len = T_::npos 
) const

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