Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

NCtext Class Reference

#include <NCtext.h>

Inheritance diagram for NCtext:

NClabel List of all members.

Public Types

typedef list< NCstring
>::iterator 
iterator
typedef list< NCstring
>::const_iterator 
const_iterator

Public Member Functions

 NCtext (const NCstring &nstr="")
 NCtext (const NCstring &nstr, size_t columns)
virtual ~NCtext ()
unsigned Lines () const
size_t Columns () const
void append (const NCstring &line)
const list< NCstring > & Text () const
const NCstring & operator[] (std::wstring::size_type idx) const
const_iterator begin () const
const_iterator end () const

Protected Member Functions

virtual void lset (const NCstring &ntext)
void lbrset (const NCstring &ntext, size_t columns)

Protected Attributes

list< NCstring > mtext

Static Private Attributes

static const NCstring emptyStr

Friends

std::ostream & operator<< (std::ostream &STREAM, const NCtext &OBJ)

Member Typedef Documentation

typedef list<NCstring>::const_iterator NCtext::const_iterator
 

typedef list<NCstring>::iterator NCtext::iterator
 


Constructor & Destructor Documentation

NCtext::NCtext (  const NCstring &  nstr = ""  ) 
 

NCtext::NCtext (  const NCstring &  nstr,
size_t  columns
) 
 

NCtext::~NCtext (   )  [virtual]
 


Member Function Documentation

void NCtext::append (  const NCstring &  line  ) 
 

const_iterator NCtext::begin (   )  const [inline]
 

size_t NCtext::Columns (   )  const
 

const_iterator NCtext::end (   )  const [inline]
 

void NCtext::lbrset (  const NCstring &  ntext,
size_t  columns
)  [protected]
 

unsigned NCtext::Lines (   )  const
 

void NCtext::lset (  const NCstring &  ntext  )  [protected, virtual]
 

Reimplemented in NClabel.

const NCstring& NCtext::operator[] (  std::wstring::size_type  idx  )  const
 

const list<NCstring>& NCtext::Text (   )  const [inline]
 


Friends And Related Function Documentation

std::ostream& operator<< (  std::ostream &  STREAM,
const NCtext &  OBJ
)  [friend]
 


Member Data Documentation

const NCstring NCtext::emptyStr [static, private]
 

list<NCstring> NCtext::mtext [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:52:55 2005 for yast2-ncurses by  doxygen 1.4.4