Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
fw_logger::fw_logs_xml_helper Class Reference

#include <fw-logs-xml-helper.h>

Public Types

enum  node_type {
  event, file, thread, enums,
  none
}
 

Public Member Functions

bool build_log_meta_data (fw_logs_formating_options *logs_formating_options)
 
 fw_logs_xml_helper (std::string xml_full_file_path)
 
 ~fw_logs_xml_helper (void)
 

Private Member Functions

bool build_meta_data_structure (xml_node<> *xml_node_list_of_events, fw_logs_formating_options *logs_formating_options)
 
bool get_enum_name_node (xml_node<> *node_file, int *thread_id, std::string *thread_name)
 
bool get_enum_value_node (xml_node<> *node_file, int *thread_id, std::string *enum_name)
 
bool get_event_node (xml_node<> *node_event, int *event_id, int *num_of_params, std::string *line)
 
bool get_file_node (xml_node<> *node_file, int *file_id, std::string *file_name)
 
node_type get_next_node (xml_node<> *xml_node_list_of_events, int *id, int *num_of_params, std::string *line)
 
bool get_root_node (xml_node<> **node)
 
bool get_thread_node (xml_node<> *node_file, int *thread_id, std::string *thread_name)
 
bool init ()
 
bool try_load_external_xml ()
 

Private Attributes

std::vector< char > _document_buffer
 
bool _init_done
 
xml_document _xml_doc
 
std::string _xml_full_file_path
 

Detailed Description

Definition at line 11 of file tools/fw-logger/fw-logs-xml-helper.h.

Member Enumeration Documentation

Enumerator
event 
file 
thread 
enums 
none 

Definition at line 14 of file tools/fw-logger/fw-logs-xml-helper.h.

Constructor & Destructor Documentation

fw_logger::fw_logs_xml_helper::fw_logs_xml_helper ( std::string  xml_full_file_path)

Definition at line 13 of file tools/fw-logger/fw-logs-xml-helper.cpp.

fw_logger::fw_logs_xml_helper::~fw_logs_xml_helper ( void  )

Definition at line 19 of file tools/fw-logger/fw-logs-xml-helper.cpp.

Member Function Documentation

bool fw_logger::fw_logs_xml_helper::build_log_meta_data ( fw_logs_formating_options logs_formating_options)

Definition at line 67 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::build_meta_data_structure ( xml_node<> *  xml_node_list_of_events,
fw_logs_formating_options logs_formating_options 
)
private

Definition at line 95 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::get_enum_name_node ( xml_node<> *  node_file,
int *  thread_id,
std::string thread_name 
)
private

Definition at line 194 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::get_enum_value_node ( xml_node<> *  node_file,
int *  thread_id,
std::string enum_name 
)
private

Definition at line 212 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::get_event_node ( xml_node<> *  node_event,
int *  event_id,
int *  num_of_params,
std::string line 
)
private

Definition at line 279 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::get_file_node ( xml_node<> *  node_file,
int *  file_id,
std::string file_name 
)
private

Definition at line 255 of file tools/fw-logger/fw-logs-xml-helper.cpp.

fw_logs_xml_helper::node_type fw_logger::fw_logs_xml_helper::get_next_node ( xml_node<> *  xml_node_list_of_events,
int *  id,
int *  num_of_params,
std::string line 
)
private

Definition at line 167 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::get_root_node ( xml_node<> **  node)
private

Definition at line 24 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::get_thread_node ( xml_node<> *  node_file,
int *  thread_id,
std::string thread_name 
)
private

Definition at line 230 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::init ( )
private

Definition at line 61 of file tools/fw-logger/fw-logs-xml-helper.cpp.

bool fw_logger::fw_logs_xml_helper::try_load_external_xml ( )
private

Definition at line 35 of file tools/fw-logger/fw-logs-xml-helper.cpp.

Member Data Documentation

std::vector<char> fw_logger::fw_logs_xml_helper::_document_buffer
private

Definition at line 43 of file tools/fw-logger/fw-logs-xml-helper.h.

bool fw_logger::fw_logs_xml_helper::_init_done
private

Definition at line 40 of file tools/fw-logger/fw-logs-xml-helper.h.

xml_document fw_logger::fw_logs_xml_helper::_xml_doc
private

Definition at line 42 of file tools/fw-logger/fw-logs-xml-helper.h.

std::string fw_logger::fw_logs_xml_helper::_xml_full_file_path
private

Definition at line 41 of file tools/fw-logger/fw-logs-xml-helper.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36