g4tools
5.4.0
|
Public Member Functions | |
raxml (tools::xml::factory &a_fac, std::ostream &a_out, bool a_verbose=false) | |
virtual | ~raxml () |
void | set_read_tag (void *a_tag) |
bool | load_file (const std::string &a_file, bool a_compressed) |
Public Member Functions inherited from tools::xml::aidas | |
aidas () | |
virtual | ~aidas () |
std::vector< raxml_out > & | objects () |
Public Member Functions inherited from tools::xml::loader | |
loader (tools::xml::factory &a_factory, std::ostream &a_out, bool a_verbose=false) | |
virtual | ~loader () |
virtual bool | visit_end_element (tools::xml::tree &, bool &a_keep) |
void | set_take_cntrl_chars (bool a_value) |
std::ostream & | out () const |
void | set_compressed_reader (tools::file::reader *aReader) |
unsigned int | errors () const |
void | set_tags (const std::vector< std::string > &a_tags) |
void | add_tag (const std::string &a_tag) |
bool | load_file (const std::string &a_file, bool a_compressed) |
bool | load_string (const std::string &a_string) |
bool | load_buffer (size_t aSize, const char *aBuffer) |
const tools::xml::tree * | top_item () const |
tools::xml::tree * | top_item () |
void | empty () |
bool | is_tag (const std::string &a_string) const |
Protected Member Functions | |
raxml (const raxml &a_from) | |
raxml & | operator= (const raxml &a_from) |
Protected Member Functions inherited from tools::xml::aidas | |
aidas (const aidas &) | |
aidas & | operator= (const aidas &) |
void | clear_readers () |
void | add_reader (const std::string &a_class, reader a_reader, bool a_check=false) |
reader | find_reader (const std::string &a_class) const |
void | set_default_tags (std::vector< std::string > &a_tags) |
void | add_default_readers () |
Protected Member Functions inherited from tools::xml::loader | |
loader (const loader &a_from) | |
loader & | operator= (const loader &a_from) |
void | clear () |
bool | parse_buffer (size_t aSize, const char *aBuffer, XML_StartElementHandler a_start, XML_EndElementHandler a_end, void *a_tag) |
bool | parse_file (const std::string &a_file, XML_StartElementHandler a_start, XML_EndElementHandler a_end, void *a_tag, bool a_compressed) |
Protected Attributes | |
void * | m_read_tag |
Protected Attributes inherited from tools::xml::aidas | |
readers | m_readers |
std::vector< raxml_out > | m_objects |
Protected Attributes inherited from tools::xml::loader | |
tools::xml::factory & | m_factory |
std::ostream & | m_out |
bool | m_verbose |
bool | m_take_cntrl |
unsigned int | m_errors |
std::vector< std::string > | m_tags |
tools::xml::tree * | m_top |
tools::xml::tree * | m_current |
std::vector< std::pair< std::string, std::string > > | m_atbs |
std::string | m_value |
tools::file::reader * | m_compressed_reader |
unsigned int | m_depth |
bool | m_abort |
Additional Inherited Members | |
Public Types inherited from tools::xml::aidas | |
typedef raxml_out(* | reader) (tree &, std::ostream &, bool, void *) |
typedef std::map< std::string, reader > | readers |
Static Public Member Functions inherited from tools::xml::aidas | |
static raxml_out | read_histo (tree &a_tree, std::ostream &a_out, bool a_verbose, unsigned int a_dim, bool a_is_prof) |
static raxml_out | read_cloud (tree &a_tree, std::ostream &a_out, bool a_verbose, int a_dim) |
Protected Types inherited from tools::xml::aidas | |
typedef histo::axis< double, unsigned int >::bn_t | bn_t |
typedef histo::profile_data< double, unsigned int, unsigned int, double, double > | pd_data |
Static Protected Member Functions inherited from tools::xml::aidas | |
static raxml_out | read_h1d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_h2d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_h3d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_p1d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_p2d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_cloud1d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_cloud2d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_cloud3d (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static raxml_out | read_dps (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static bool | read_axis (tree &a_tree, unsigned int a_dim, int &aAxis, bn_t &aNumberOfBins, double &aMin, double &aMax, std::vector< double > &aEdges, bool &aVariableBins, std::ostream &) |
read histo //////////////////////////////////////////////// More... | |
static bool | to_double (const std::string &a_s, double &a_v, std::ostream &a_out, const std::string &a_what) |
static bool | read_bins (tree &a_tree, pd_data &aData, std::ostream &a_out, bool a_is_prof) |
static bool | axis_index (unsigned int a_dim, const std::string &a_axis, int &a_index) |
static bool | read_ntu_columns (tree &a_tree, bool &a_found, std::vector< colbook > &a_booking, std::ostream &a_out) |
static bool | read_ntu_rows (tree &a_tree, aida::base_ntu &a_ntu, bool &a_found, std::ostream &a_out) |
static raxml_out | read_ntu (tree &a_tree, std::ostream &a_out, bool a_verbose, void *) |
static bool | read_cloud_data (tree &a_tree, histo::c1d &aCloud, bool a_verbose, std::ostream &a_out) |
read cloud //////////////////////////////////////////////// More... | |
static bool | read_cloud_data (tree &a_tree, histo::c2d &aCloud, bool a_verbose, std::ostream &a_out) |
static bool | read_cloud_data (tree &a_tree, histo::c3d &aCloud, bool a_verbose, std::ostream &a_out) |
static bool | read_dps_data (tree &a_tree, histo::dps &a_dps) |
Static Protected Member Functions inherited from tools::xml::loader | |
static void | character_data_handler (void *aUserData, const XML_Char *a_string, int aLength) |
static void | start_element (void *aUserData, const XML_Char *a_name, const XML_Char **a_atbs) |
static void | end_element (void *aUserData, const XML_Char *a_name) |
|
inline |
|
inlineprotected |
|
inline |