Jpp
15.0.5
the software that should make you happy
|
Facet class to specify parsing of a C[++] variable name. More...
#include <JCppFacet.hh>
Public Types | |
typedef std::istreambuf_iterator< char, std::char_traits< char > > | istreambuf_iterator |
typedef std::ostreambuf_iterator< char, std::char_traits< char > > | ostreambuf_iterator |
Public Member Functions | |
JCppFacet () | |
Constructor. More... | |
virtual JCppFacet * | clone () const override |
Clone this facet. More... | |
istreambuf_iterator | get (const istreambuf_iterator __begin, const istreambuf_iterator __end, const std::ios_base &format, std::ios_base::iostate &result, std::string &buffer) const |
Get string. More... | |
ostreambuf_iterator | put (ostreambuf_iterator out, const std::ios_base &format, const char c, const std::string &buffer) const |
Put string. More... | |
std::istream & | ignore (std::istream &in) const |
Ignore characters until next end of line. More... | |
std::istream & | getline (std::istream &in, std::string &buffer) const |
Read characters until next end of line. More... | |
Static Public Member Functions | |
static bool | is_eol (const char c) |
static bool | is_begin_single_line_comment (const char c1, const char c2) |
static bool | is_begin_multi_line_comment (const char c1, const char c2) |
static bool | is_end_single_line_comment (const char c1) |
static bool | is_end_multi_line_comment (const char c1, const char c2) |
static int | getIndex () |
Get index for stream associated facet data. More... | |
Static Public Attributes | |
static std::locale::id | id |
Protected Member Functions | |
virtual istreambuf_iterator | do_get (const istreambuf_iterator __begin, const istreambuf_iterator __end, const std::ios_base &format, std::ios_base::iostate &result, std::string &buffer) const |
Get string. More... | |
virtual ostreambuf_iterator | do_put (ostreambuf_iterator out, const std::ios_base &format, const char c, const std::string &buffer) const |
Put string. More... | |
virtual istreambuf_iterator | do_ignore (const istreambuf_iterator __begin, const istreambuf_iterator __end) const |
Ignore white space and end of line characters. More... | |
virtual istreambuf_iterator | do_ignore_single_line_comment (const istreambuf_iterator __begin, const istreambuf_iterator __end) const |
Ignore characters until end of line. More... | |
virtual istreambuf_iterator | do_ignore_multi_line_comment (const istreambuf_iterator __begin, const istreambuf_iterator __end) const |
Ignore characters until next end of comment. More... | |
virtual istreambuf_iterator | do_getline (const istreambuf_iterator __begin, const istreambuf_iterator __end, std::ios_base::iostate &result, std::string &buffer) const |
Read string. More... | |
Private Member Functions | |
JCppFacet (const JCppFacet &) | |
void | operator= (const JCppFacet &) |
Facet class to specify parsing of a C[++] variable name.
Definition at line 27 of file JCppFacet.hh.
|
inherited |
Definition at line 34 of file JStringFacet.hh.
|
inherited |
Definition at line 35 of file JStringFacet.hh.
|
inline |
|
private |
|
inlineoverridevirtual |
Clone this facet.
Reimplemented from JLANG::JStringFacet.
Definition at line 43 of file JCppFacet.hh.
|
inlinestatic |
Definition at line 49 of file JCppFacet.hh.
|
inlinestatic |
Definition at line 51 of file JCppFacet.hh.
|
inlinestatic |
Definition at line 52 of file JCppFacet.hh.
|
inlinestatic |
Definition at line 54 of file JCppFacet.hh.
|
inlinestatic |
Definition at line 55 of file JCppFacet.hh.
|
inline |
Get string.
__begin | begin position of input stream |
__end | end position of input stream |
format | format |
result | status after input operation |
buffer | output string |
Definition at line 68 of file JCppFacet.hh.
|
inline |
Put string.
out | begin position of output stream |
format | format |
c | fill character |
buffer | input string |
Definition at line 87 of file JCppFacet.hh.
|
inlineprotectedvirtual |
Get string.
__begin | begin position of input stream |
__end | end position of input stream |
format | format |
result | status after input operation |
buffer | output string |
Reimplemented from JLANG::JStringFacet.
Definition at line 107 of file JCppFacet.hh.
|
inlineprotectedvirtual |
Put string.
out | begin position of output stream |
format | format |
c | fill character |
buffer | input string |
Reimplemented from JLANG::JStringFacet.
Definition at line 183 of file JCppFacet.hh.
|
inlineprotectedvirtual |
Ignore white space and end of line characters.
__begin | begin position of input stream |
__end | end position of input stream |
Reimplemented from JLANG::JStringFacet.
Definition at line 217 of file JCppFacet.hh.
|
inlineprotectedvirtual |
Ignore characters until end of line.
__begin | begin position of input stream |
__end | end position of input stream |
Definition at line 237 of file JCppFacet.hh.
|
inlineprotectedvirtual |
Ignore characters until next end of comment.
__begin | begin position of input stream |
__end | end position of input stream |
Definition at line 259 of file JCppFacet.hh.
|
private |
|
inlineinherited |
Ignore characters until next end of line.
in | input stream |
Definition at line 104 of file JStringFacet.hh.
|
inlineinherited |
Read characters until next end of line.
in | input stream |
buffer | output string |
Definition at line 121 of file JStringFacet.hh.
|
inlinestaticinherited |
Get index for stream associated facet data.
Definition at line 145 of file JStringFacet.hh.
|
inlineprotectedvirtualinherited |
Read string.
__begin | begin position of input stream |
__end | end position of input stream |
result | status after input operation |
buffer | output string |
Reimplemented in JLANG::JEquationFacet.
Definition at line 275 of file JStringFacet.hh.
|
staticinherited |
Definition at line 31 of file JStringFacet.hh.