#include <YCode.h>
Inheritance diagram for YLocale:
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 () | |
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
writes YCode to a stream see Bytecode for read Implements YCode. |
|
Returns an ASCII representation of the YCode. Reimplemented from YCode. |
|
return type (interesting mostly for function calls) Reimplemented from YCode. |
|
|
|
|
|
|
|
|