libqalculate-4.9.0
|
A name for an expression item (function, variable or unit) More...
#include <ExpressionItem.h>
Public Member Functions | |
ExpressionName () | |
ExpressionName (std::string sname) | |
void | operator= (const ExpressionName &ename) |
bool | operator== (const ExpressionName &ename) const |
bool | operator!= (const ExpressionName &ename) const |
int | underscoreRemovalAllowed () const |
std::string | formattedName (int type, bool capitalize, bool html_suffix=false, int unicode_suffix=0, bool remove_typename=false, bool hide_underscore=false, bool *was_formatted=NULL, bool *was_capitalized=NULL) const |
A name for an expression item (function, variable or unit)
An expression name has a text string representing a name and boolean values describing the names properties.
ExpressionName::ExpressionName | ( | ) |
Create an empty expression name. All properties are set to false.
ExpressionName::ExpressionName | ( | std::string | sname | ) |
Create an expression name. All properties are set to false, unless the name only has one character in which case abbreviation and case_sensitive is set to true.
sname | The name. |