#include <dmplib.hh>
Definition at line 45 of file dmplib.hh.
◆ Tagged() [1/2]
Definition at line 47 of file dmplib.hh.
48 : m_initialized(false)
49 {};
◆ Tagged() [2/2]
Definition at line 47 of file dmplib.h.
48 : m_initialized(false)
49 {};
◆ check_end_tag() [1/2]
void Tagged::check_end_tag |
( |
std::istream & |
is, |
|
|
const char * |
tag |
|
) |
| |
|
inlineprotected |
Definition at line 108 of file dmplib.hh.
109{
110 char c;
111 is >> c;
112 if(c != '}')
114
115 std::string in_tag;
116 is >> in_tag;
117 if(in_tag != tag)
119}
◆ check_end_tag() [2/2]
void Tagged::check_end_tag |
( |
std::istream & |
is, |
|
|
const char * |
tag |
|
) |
| |
|
protected |
◆ check_start_tag() [1/2]
void Tagged::check_start_tag |
( |
std::istream & |
is, |
|
|
const char * |
tag |
|
) |
| |
|
inlineprotected |
Definition at line 81 of file dmplib.hh.
82{
83
84 char c;
85 if(!(is >> c) || (c != '{')) {
87 }
88
89
90 std::string in_tag;
91 is >> in_tag;
92 if(in_tag != tag)
94
95
96 is >> c;
97 if(c == '}') {
98 is >> in_tag;
99 if(in_tag != tag)
101 } else {
102 is.putback(c);
104 }
105}
◆ check_start_tag() [2/2]
void Tagged::check_start_tag |
( |
std::istream & |
is, |
|
|
const char * |
tag |
|
) |
| |
|
protected |
◆ initialized() [1/2]
bool Tagged::initialized |
( |
| ) |
const |
|
inline |
Definition at line 63 of file dmplib.hh.
64{
65 return m_initialized;
66}
◆ initialized() [2/2]
bool Tagged::initialized |
( |
| ) |
const |
◆ set_initialized() [1/2]
void Tagged::set_initialized |
( |
| ) |
|
|
inline |
◆ set_initialized() [2/2]
void Tagged::set_initialized |
( |
| ) |
|
◆ unset_initalized() [1/2]
void Tagged::unset_initalized |
( |
| ) |
|
|
inline |
Definition at line 75 of file dmplib.hh.
76{
77 m_initialized = false;
78}
◆ unset_initalized() [2/2]
void Tagged::unset_initalized |
( |
| ) |
|
The documentation for this class was generated from the following files: