YLocale Class Reference

#include <YCode.h>

Inheritance diagram for YLocale:

YCode 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 (bytecodeistream &str)
 ~YLocale ()
virtual ykind kind () const
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

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

Static Public Attributes

static t_uniquedomains domains

Private Member Functions

 REP_BODY (YLocale)

Private Attributes

const char * m_locale
t_uniquedomains::const_iterator m_domain

Classes

struct  eqstr

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 ( bytecodeistream str  ) 

YLocale::~YLocale (  ) 


Member Function Documentation

YLocale::REP_BODY ( YLocale   )  [private]

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

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

virtual ykind YLocale::kind (  )  const [inline, virtual]

Returns the YCode kind

Implements YCode.

const char * YLocale::value (  )  const

const char * YLocale::domain (  )  const

string YLocale::toString (  )  const [virtual]

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

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

writes YCode to a stream see Bytecode for read

Implements YCode.

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.

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

return type (interesting mostly for function calls)

Reimplemented from YCode.


Member Data Documentation

const char* YLocale::m_locale [private]

YLocale::t_uniquedomains YLocale::domains [static]

t_uniquedomains::const_iterator YLocale::m_domain [private]


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 01:20:23 2007 for yast2-core by  doxygen 1.5.0