#include <dmplib.hh>
◆ Tagged() [1/4]
◆ Tagged() [2/4]
◆ Tagged() [3/4]
◆ Tagged() [4/4]
Definition at line 47 of file dmplib.h.
47: m_initialized( false ){};
◆ check_end_tag() [1/4]
| void Tagged::check_end_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
inlineprotected |
Definition at line 93 of file Event/AsciiDmp/include/AsciiDmp/dmplib.hh.
93 {
94 char c;
95 is >> c;
96 if ( c != '}' ) throw AsciiNoEndChar();
97
98 std::string in_tag;
99 is >> in_tag;
100 if ( in_tag != tag ) throw AsciiWrongEndTag( tag, in_tag );
101}
◆ check_end_tag() [2/4]
| void Tagged::check_end_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
protected |
◆ check_end_tag() [3/4]
| void Tagged::check_end_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
protected |
◆ check_end_tag() [4/4]
| void Tagged::check_end_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
protected |
◆ check_start_tag() [1/4]
| void Tagged::check_start_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
inlineprotected |
Definition at line 69 of file Event/AsciiDmp/include/AsciiDmp/dmplib.hh.
69 {
70
71 char c;
72 if ( !( is >> c ) || ( c != '{' ) ) { throw AsciiNoStartChar(); }
73
74
75 std::string in_tag;
76 is >> in_tag;
77 if ( in_tag != tag ) throw AsciiWrongStartTag( tag, in_tag );
78
79
80 is >> c;
81 if ( c == '}' )
82 {
83 is >> in_tag;
84 if ( in_tag != tag ) throw AsciiWrongEndTag( tag, in_tag );
85 }
86 else
87 {
88 is.putback( c );
90 }
91}
◆ check_start_tag() [2/4]
| void Tagged::check_start_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
protected |
◆ check_start_tag() [3/4]
| void Tagged::check_start_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
protected |
◆ check_start_tag() [4/4]
| void Tagged::check_start_tag |
( |
std::istream & | is, |
|
|
const char * | tag ) |
|
protected |
◆ initialized() [1/4]
| bool Tagged::initialized |
( |
| ) |
const |
|
inline |
◆ initialized() [2/4]
| bool Tagged::initialized |
( |
| ) |
const |
◆ initialized() [3/4]
| bool Tagged::initialized |
( |
| ) |
const |
◆ initialized() [4/4]
| bool Tagged::initialized |
( |
| ) |
const |
◆ set_initialized() [1/4]
| void Tagged::set_initialized |
( |
| ) |
|
|
inline |
◆ set_initialized() [2/4]
| void Tagged::set_initialized |
( |
| ) |
|
◆ set_initialized() [3/4]
| void Tagged::set_initialized |
( |
| ) |
|
◆ set_initialized() [4/4]
| void Tagged::set_initialized |
( |
| ) |
|
◆ unset_initalized() [1/4]
| void Tagged::unset_initalized |
( |
| ) |
|
|
inline |
◆ unset_initalized() [2/4]
| void Tagged::unset_initalized |
( |
| ) |
|
◆ unset_initalized() [3/4]
| void Tagged::unset_initalized |
( |
| ) |
|
◆ unset_initalized() [4/4]
| void Tagged::unset_initalized |
( |
| ) |
|
The documentation for this class was generated from the following files: