|
| BinaryPrefix (int exp2, std::string long_name, std::string short_name="", std::string unicode_name="") |
|
int | exponent (int iexp=1) const |
|
Number | exponent (const Number &nexp) const |
|
void | setExponent (int iexp) |
|
Number | value (const Number &nexp) const |
|
Number | value (int iexp) const |
|
Number | value () const |
|
int | type () const |
|
| Prefix (std::string long_name, std::string short_name="", std::string unicode_name="") |
|
const std::string & | shortName (bool return_long_if_no_short=true, bool use_unicode=false) const |
|
const std::string & | longName (bool return_short_if_no_long=true, bool use_unicode=false) const |
|
const std::string & | unicodeName (bool return_short_if_no_uni=true) const |
|
void | setShortName (std::string short_name) |
|
void | setLongName (std::string long_name) |
|
void | setUnicodeName (std::string unicode_name) |
|
const std::string & | name (bool short_default=true, bool use_unicode=false, bool(*can_display_unicode_string_function)(const char *, void *)=NULL, void *can_display_unicode_string_arg=NULL) const |
|
const std::string & | referenceName () const |
|
const ExpressionName & | preferredName (bool abbreviation=false, bool use_unicode=false, bool plural=false, bool reference=false, bool(*can_display_unicode_string_function)(const char *, void *)=NULL, void *can_display_unicode_string_arg=NULL) const |
|
const ExpressionName & | preferredInputName (bool abbreviation=false, bool use_unicode=false, bool plural=false, bool reference=false, bool(*can_display_unicode_string_function)(const char *, void *)=NULL, void *can_display_unicode_string_arg=NULL) const |
|
const ExpressionName & | preferredDisplayName (bool abbreviation=false, bool use_unicode=false, bool plural=false, bool reference=false, bool(*can_display_unicode_string_function)(const char *, void *)=NULL, void *can_display_unicode_string_arg=NULL) const |
|
const ExpressionName & | getName (size_t index) const |
|
void | setName (const ExpressionName &ename, size_t index=1) |
|
void | setName (std::string sname, size_t index) |
|
void | addName (const ExpressionName &ename, size_t index=0) |
|
void | addName (std::string sname, size_t index=0) |
|
size_t | countNames () const |
|
void | clearNames () |
|
void | clearNonReferenceNames () |
|
void | removeName (size_t index) |
|
size_t | hasName (const std::string &sname, bool case_sensitive=true) const |
|
size_t | hasNameCaseSensitive (const std::string &sname) const |
|
const ExpressionName & | findName (int abbreviation=-1, int use_unicode=-1, int plural=-1, bool(*can_display_unicode_string_function)(const char *, void *)=NULL, void *can_display_unicode_string_arg=NULL) const |
|
A binary prefix.
A Binary prefix has an integer exponent which with a base of two constitutes the value of the prefix (value=2^exponent).