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

YLocale Class Reference

#include <YCode.h>

Inheritance diagram for YLocale:

YCode Rep List of all members.

Public Types

typedef __gnu_cxx::hash_map<
const char *, bool, __gnu_cxx::hash<
const char * >, eqstr
t_uniquedomains

Public Member Functions

 YLocale (const char *locale, const char *textdomain)
 YLocale (std::istream &str)
 ~YLocale ()
const char * value () const
const char * domain () const
string toString () const
std::ostream & toStream (std::ostream &str) const
YCPValue evaluate (bool cse=false)
constTypePtr type () const

Static Public Member Functions

t_uniquedomains::const_iterator setDomainStatus (const string &domain, bool status)
void ensureBindDomain (const string &domain)

Static Public Attributes

t_uniquedomains domains

Private Member Functions

 REP_BODY (YLocale)

Private Attributes

const char * m_locale
t_uniquedomains::const_iterator m_domain

Member Typedef Documentation

typedef __gnu_cxx::hash_map<const char*, bool, __gnu_cxx::hash<const char*>, eqstr> YLocale::t_uniquedomains
 


Constructor & Destructor Documentation

YLocale::YLocale const char *  locale,
const char *  textdomain
 

YLocale::YLocale std::istream &  str  ) 
 

YLocale::~YLocale  ) 
 


Member Function Documentation

const char * YLocale::domain  )  const
 

void YLocale::ensureBindDomain const string &  domain  )  [static]
 

YCPValue YLocale::evaluate bool  cse = false  )  [virtual]
 

evaluate YCode to YCPValue if debugger == 0 called for parse time evaluation (i.e. constant subexpression elimination) else called for runtime evaluation

Reimplemented from YCode.

YLocale::REP_BODY YLocale   )  [private]
 

YLocale::t_uniquedomains::const_iterator YLocale::setDomainStatus const string &  domain,
bool  status
[static]
 

std::ostream & YLocale::toStream std::ostream &  str  )  const [virtual]
 

writes YCode to a stream see Bytecode for read

Implements YCode.

string YLocale::toString  )  const [virtual]
 

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

constTypePtr YLocale::type  )  const [inline, virtual]
 

return type (interesting mostly for function calls)

Reimplemented from YCode.

const char * YLocale::value  )  const
 


Member Data Documentation

YLocale::t_uniquedomains YLocale::domains [static]
 

t_uniquedomains::const_iterator YLocale::m_domain [private]
 

const char* YLocale::m_locale [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6