DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <xml.hpp>
Public Member Functions | |
OksXmlInputStream (std::shared_ptr< std::istream > p) | |
~OksXmlInputStream () | |
void | get_num_token (char last) |
size_t | get_quoted () |
const char * | get_tag () |
const char * | get_tag_start () |
bool | good () const |
bool | eof () const |
void | store_position () |
void | restore_position () |
long | get_position () const |
void | seek_position (std::streamoff off) |
std::ostream & | error_msg (const char *) |
unsigned long | get_line_no () const |
unsigned long | get_line_pos () const |
OksXmlToken & | get_xml_token () |
OksXmlValue | get_value (unsigned int len) |
void | throw_unexpected_tag (const char *what, const char *expected=0) |
void | throw_unexpected_attribute (const char *what) |
Static Public Member Functions | |
static void | __throw_strto (const char *f, const char *where, const char *what, unsigned long line_no, unsigned long line_pos) |
Private Member Functions | |
void | init () |
size_t | get_token (const char s1, OksXmlToken &token) |
size_t | get_token2 (char, const char s1, const char s2, OksXmlToken &token) |
void | get_token5 (const char s1, const char s2, const char s3, const char s4, const char s5, OksXmlToken &token) |
char | cvt_char () |
char | get_first_non_empty () |
char | get () |
unsigned long | get_value_pre () |
void | get_value_post (unsigned long) |
void | __throw_eof () const |
OksXmlInputStream (const OksXmlInputStream &) | |
OksXmlInputStream & | operator= (const OksXmlInputStream &) |
Private Attributes | |
std::shared_ptr< std::istream > | f |
std::streambuf * | m_pbuf |
unsigned long | line_no |
unsigned long | line_pos |
char | last_read_c |
std::istream::pos_type | pos |
unsigned long | m_line_no_sav |
unsigned long | m_line_pos_sav |
OksXmlToken * | m_cvt_char |
OksXmlToken * | m_v1 |
OksXmlToken * | m_v2 |
OksXmlToken * | m_v3 |
Static Private Attributes | |
static OksXmlTokenPool | s_tokens_pool |
Friends | |
struct | OksXmlAttribute |
struct | OksData |
class | OksObject |
|
inline |
|
inline |
|
private |
|
private |
|
static |
Definition at line 620 of file xml.cpp.
|
private |
Read encoded symbol (&xxx;)
Definition at line 585 of file xml.cpp.
|
inline |
std::ostream & dunedaq::oks::OksXmlInputStream::error_msg | ( | const char * | msg | ) |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
void dunedaq::oks::OksXmlInputStream::get_num_token | ( | char | last | ) |
|
inline |
size_t dunedaq::oks::OksXmlInputStream::get_quoted | ( | ) |
Definition at line 290 of file xml.cpp.
const char * dunedaq::oks::OksXmlInputStream::get_tag | ( | ) |
Definition at line 338 of file xml.cpp.
const char * dunedaq::oks::OksXmlInputStream::get_tag_start | ( | ) |
Definition at line 485 of file xml.cpp.
|
inlineprivate |
|
inlineprivate |
Read token (two separators)
|
inlineprivate |
Read token (five separators)
Definition at line 465 of file xml.cpp.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
inline |
|
inline |
|
inline |
void dunedaq::oks::OksXmlInputStream::throw_unexpected_attribute | ( | const char * | what | ) |
void dunedaq::oks::OksXmlInputStream::throw_unexpected_tag | ( | const char * | what, |
const char * | expected = 0 ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |