cwidget::wchstring Class Reference

Inheritance diagram for cwidget::wchstring:
basic_string

List of all members.

Public Member Functions

 wchstring (const std::basic_string< wchtype > &s)
 wchstring (const std::wstring &s)
 Create a new wchstring with empty attribute information.
 wchstring (const std::wstring &s, const style &st)
 Create a new wchstring from the given wide string with the given attributes.
 wchstring (const wchstring &s)
 wchstring (const wchstring &s, const style &st)
 Apply the given style to the given chstring, and set ourselves to the result.
 wchstring (const wchstring &s, size_t loc, size_t n=npos)
 wchstring (size_t n, wchtype c)
 wchstring (size_t n, wchar_t c, attr_t a)
void apply_style (const style &st)
 Change the attributes of this string by using the given style.
int width () const
 Return the number of columns occupied by this string.

Constructor & Destructor Documentation

cwidget::wchstring::wchstring ( const std::wstring &  s  ) 

Create a new wchstring with empty attribute information.


Member Function Documentation

void cwidget::wchstring::apply_style ( const style st  ) 

Change the attributes of this string by using the given style.

Referenced by width().

int cwidget::wchstring::width (  )  const

Return the number of columns occupied by this string.

References apply_style().


The documentation for this class was generated from the following files:
Generated on Sun May 9 13:04:55 2010 for cwidget by  doxygen 1.6.3