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

NCstring Class Reference

#include <NCstring.h>

List of all members.

Public Member Functions

 NCstring ()
 NCstring (const NCstring &nstr)
 NCstring (const wstring &wstr)
 NCstring (const string &str)
 NCstring (const char *cstr)
 ~NCstring ()
 NCstring (const YCPString &ystr)
NCstring & operator= (const YCPString &ystr)
YCPString YCPstr () const
string Str () const
NCstring & operator= (const NCstring &nstr)
NCstring & operator+= (const NCstring &nstr)
const wstring & str () const
void getHotkey () const

Static Public Member Functions

static bool RecodeToWchar (const string &in, const string &from_encoding, wstring *out)
static bool RecodeFromWchar (const wstring &in, const string &to_encoding, string *out)
static const string & terminalEncoding ()
static bool setTerminalEncoding (const string &encoding="")

Private Member Functions

wchar_t hotkey () const
wstring::size_type hotpos () const

Private Attributes

wchar_t hotk
wstring::size_type hotp
wstring wstr

Static Private Attributes

static string termEncoding

Friends

class NClabel
std::ostream & operator<< (std::ostream &STREAM, const NCstring &OBJ)


Constructor & Destructor Documentation

NCstring::NCstring (   ) 
 

NCstring::NCstring (  const NCstring &  nstr  ) 
 

NCstring::NCstring (  const wstring &  wstr  ) 
 

NCstring::NCstring (  const string &  str  ) 
 

NCstring::NCstring (  const char *  cstr  ) 
 

NCstring::~NCstring (   )  [inline]
 

NCstring::NCstring (  const YCPString &  ystr  ) 
 


Member Function Documentation

void NCstring::getHotkey (   )  const
 

wchar_t NCstring::hotkey (   )  const [inline, private]
 

wstring::size_type NCstring::hotpos (   )  const [inline, private]
 

NCstring & NCstring::operator+= (  const NCstring &  nstr  ) 
 

NCstring & NCstring::operator= (  const NCstring &  nstr  ) 
 

NCstring & NCstring::operator= (  const YCPString &  ystr  ) 
 

bool NCstring::RecodeFromWchar (  const wstring &  in,
const string &  to_encoding,
string *  out
)  [static]
 

bool NCstring::RecodeToWchar (  const string &  in,
const string &  from_encoding,
wstring *  out
)  [static]
 

bool NCstring::setTerminalEncoding (  const string &  encoding = ""  )  [static]
 

const wstring& NCstring::str (   )  const [inline]
 

string NCstring::Str (   )  const
 

static const string& NCstring::terminalEncoding (   )  [inline, static]
 

YCPString NCstring::YCPstr (   )  const
 


Friends And Related Function Documentation

friend class NClabel [friend]
 

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


Member Data Documentation

wchar_t NCstring::hotk [mutable, private]
 

wstring::size_type NCstring::hotp [mutable, private]
 

string NCstring::termEncoding [static, private]
 

wstring NCstring::wstr [mutable, private]
 


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