Jpp
18.6.0-rc.1
the software that should make you happy
|
Simple data structure to support I/O of equations (see class JLANG::JEquation). More...
#include <JEquationParameters.hh>
Public Member Functions | |
JEquationParameters () | |
Default constructor. More... | |
JEquationParameters (const std::string &sep, const std::string &eol, const std::string &div, const std::string &skip, const char left= '(', const char right= ')', const std::string &ws=" \t\n\v\f\r", const std::string &comment="") | |
Constructor. More... | |
const JEquationParameters & | getEquationParameters () const |
Get equation parameters. More... | |
void | setEquationParameters (const JEquationParameters &buffer) |
Set equation parameters. More... | |
const char | getDefaultSeparator () const |
Get default separator character. More... | |
const std::string & | getSeparator () const |
Get separator characters. More... | |
std::string & | getSeparator () |
Get separator characters. More... | |
void | setSeparator (const std::string &sep) |
Set separator character(s). More... | |
const char | getDefaultEndOfLine () const |
Get default end of line character. More... | |
const char | getPreferredEndOfLine (const unsigned int index) const |
Get preferred end of line character. More... | |
const std::string & | getEndOfLine () const |
Get end of line characters. More... | |
std::string & | getEndOfLine () |
Get end of line characters. More... | |
void | setEndOfLine (const std::string &eol) |
Set end of line characters. More... | |
const char | getDefaultDivision () const |
Get default division character. More... | |
const std::string & | getDivision () const |
Get division characters. More... | |
std::string & | getDivision () |
Get division characters. More... | |
void | setDivision (const std::string &div) |
Set division characters. More... | |
const char | getDefaultSkipLine () const |
Get default skip line character. More... | |
const std::string & | getSkipLine () const |
Get skip line characters. More... | |
std::string & | getSkipLine () |
Get skip line characters. More... | |
void | setSkipLine (const std::string &skip) |
Set skip line characters. More... | |
void | setBrackets (const char left, const char right) |
Set brackets. More... | |
char | getLeftBracket () const |
Get left bracket. More... | |
char & | getLeftBracket () |
Get left bracket. More... | |
char | getRightBracket () const |
Get right bracket. More... | |
char & | getRightBracket () |
Get right bracket. More... | |
const char | getDefaultWhiteSpace () const |
Get default white space character. More... | |
const std::string & | getWhiteSpace () const |
Get white space characters. More... | |
std::string & | getWhiteSpace () |
Get white space characters. More... | |
void | setWhiteSpace (const std::string &ws) |
Set white space characters. More... | |
const std::string & | getComment () const |
Get comment string. More... | |
std::string & | getComment () |
Get comment string. More... | |
void | setComment (const std::string &comment) |
Set comment string. More... | |
JEquationParameters & | join (const JEquationParameters &value) |
Join equation parameters. More... | |
bool | isSeparator (const char c) const |
Test for separator character. More... | |
bool | isEndOfLine (const char c) const |
Test for end of line character. More... | |
bool | isDivision (const char c) const |
Test for division character. More... | |
bool | isSkipLine (const char c) const |
Test for skip line character. More... | |
bool | isLeftBracket (const char c) const |
Test for left bracket character. More... | |
bool | isRightBracket (const char c) const |
Test for right bracket character. More... | |
bool | isWhiteSpace (const char c) const |
Test for white space character. More... | |
Protected Attributes | |
std::string | sep |
std::string | eol |
std::string | div |
std::string | skip |
char | left |
char | right |
std::string | ws |
std::string | comment |
Simple data structure to support I/O of equations (see class JLANG::JEquation).
Definition at line 20 of file JEquationParameters.hh.
|
inline |
|
inline |
Constructor.
sep | separator characters |
eol | end of line characters |
div | division characters |
skip | skip line characters |
left | left bracket |
right | right bracket |
ws | white space characters |
comment | inline comment characters |
Definition at line 50 of file JEquationParameters.hh.
|
inline |
Get equation parameters.
Definition at line 75 of file JEquationParameters.hh.
|
inline |
Set equation parameters.
buffer | equation parameters |
Definition at line 86 of file JEquationParameters.hh.
|
inline |
Get default separator character.
Definition at line 97 of file JEquationParameters.hh.
|
inline |
Get separator characters.
Definition at line 111 of file JEquationParameters.hh.
|
inline |
Get separator characters.
Definition at line 122 of file JEquationParameters.hh.
|
inline |
Set separator character(s).
sep | separator between parameter and its value |
Definition at line 133 of file JEquationParameters.hh.
|
inline |
Get default end of line character.
Definition at line 144 of file JEquationParameters.hh.
|
inline |
Get preferred end of line character.
index | index |
Definition at line 159 of file JEquationParameters.hh.
|
inline |
Get end of line characters.
Definition at line 175 of file JEquationParameters.hh.
|
inline |
Get end of line characters.
Definition at line 186 of file JEquationParameters.hh.
|
inline |
Set end of line characters.
eol | end of line character |
Definition at line 197 of file JEquationParameters.hh.
|
inline |
Get default division character.
Definition at line 208 of file JEquationParameters.hh.
|
inline |
Get division characters.
Definition at line 222 of file JEquationParameters.hh.
|
inline |
Get division characters.
Definition at line 233 of file JEquationParameters.hh.
|
inline |
Set division characters.
div | division characters |
Definition at line 244 of file JEquationParameters.hh.
|
inline |
Get default skip line character.
Definition at line 255 of file JEquationParameters.hh.
|
inline |
Get skip line characters.
Definition at line 269 of file JEquationParameters.hh.
|
inline |
Get skip line characters.
Definition at line 280 of file JEquationParameters.hh.
|
inline |
Set skip line characters.
skip | skip line characters |
Definition at line 291 of file JEquationParameters.hh.
|
inline |
Set brackets.
left | left bracket |
right | right bracket |
Definition at line 303 of file JEquationParameters.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get default white space character.
Definition at line 359 of file JEquationParameters.hh.
|
inline |
Get white space characters.
Definition at line 373 of file JEquationParameters.hh.
|
inline |
Get white space characters.
Definition at line 384 of file JEquationParameters.hh.
|
inline |
Set white space characters.
ws | white space characters |
Definition at line 395 of file JEquationParameters.hh.
|
inline |
|
inline |
|
inline |
Set comment string.
comment | comment string |
Definition at line 428 of file JEquationParameters.hh.
|
inline |
Join equation parameters.
value | equation parameters |
Definition at line 439 of file JEquationParameters.hh.
|
inline |
Test for separator character.
c | character |
Definition at line 483 of file JEquationParameters.hh.
|
inline |
Test for end of line character.
c | character |
Definition at line 495 of file JEquationParameters.hh.
|
inline |
Test for division character.
c | character |
Definition at line 504 of file JEquationParameters.hh.
|
inline |
Test for skip line character.
c | character |
Definition at line 516 of file JEquationParameters.hh.
|
inline |
Test for left bracket character.
c | character |
Definition at line 528 of file JEquationParameters.hh.
|
inline |
Test for right bracket character.
c | character |
Definition at line 540 of file JEquationParameters.hh.
|
inline |
Test for white space character.
c | character |
Definition at line 552 of file JEquationParameters.hh.
|
protected |
Definition at line 558 of file JEquationParameters.hh.
|
protected |
Definition at line 559 of file JEquationParameters.hh.
|
protected |
Definition at line 560 of file JEquationParameters.hh.
|
protected |
Definition at line 561 of file JEquationParameters.hh.
|
protected |
Definition at line 562 of file JEquationParameters.hh.
|
protected |
Definition at line 563 of file JEquationParameters.hh.
|
protected |
Definition at line 564 of file JEquationParameters.hh.
|
protected |
Definition at line 565 of file JEquationParameters.hh.