OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <XML_String_Intf.h>
Private Attributes | |
XML::XML_Schema_Resolver< XML::Environment_Resolver > * | res_ |
Schema resolver. More... | |
XML::XML_Error_Handler * | eh_ |
Error handler. More... | |
XERCES_CPP_NAMESPACE::XercesDOMParser * | parser_ |
Parser. More... | |
XERCES_CPP_NAMESPACE::DOMDocument * | finalDoc_ |
Additional Inherited Members | |
![]() | |
::dds::qosProfile * | get_profile (const ACE_TCHAR *profile_name) |
![]() | |
::dds::qosProfile_seq | profiles_ |
Definition at line 41 of file XML_String_Intf.h.
|
explicit |
Pass an optional which is called back when there are any errors parsing the input XML. The QOS_XML_String_Handler will assume ownership when a pointer is passed
Definition at line 19 of file XML_String_Intf.cpp.
References ACE_ERROR, ACE_TEXT(), finalDoc_, FACE::TS::Initialize(), LM_ERROR, and parser_.
OpenDDS::DCPS::QOS_XML_String_Handler::~QOS_XML_String_Handler | ( | ) |
Definition at line 58 of file XML_String_Intf.cpp.
References eh_, finalDoc_, parser_, and res_.
void OpenDDS::DCPS::QOS_XML_String_Handler::add_search_path | ( | const ACE_TCHAR * | environment, |
const ACE_TCHAR * | relpath | ||
) |
add_search_path will add a relative path to the XML parsing library. The XML parsing library will use this path to search for the schema
Definition at line 246 of file XML_String_Intf.cpp.
References OPENDDS_END_VERSIONED_NAMESPACE_DECL, and res_.
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_String_Handler::init | ( | const ACE_TCHAR * | membuf | ) |
The init method will open the file and will validate it against the schema. It returns RETCODE_ERROR when any error occurs during parsing
Definition at line 70 of file XML_String_Intf.cpp.
References CORBA::Exception::_info(), ACE_DEBUG, ACE_ERROR, ACE_TEXT(), ACE_TEXT_ALWAYS_CHAR, ACE_String_Base< char >::c_str(), OpenDDS::DCPS::DCPS_debug_level, dds::reader::dds(), eh_, finalDoc_, LM_DEBUG, LM_ERROR, parser_, OpenDDS::DCPS::QOS_XML_Handler::profiles_, res_, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
|
private |
Error handler.
Definition at line 74 of file XML_String_Intf.h.
Referenced by init(), and ~QOS_XML_String_Handler().
|
private |
Final DOMDocument that should be passed to dds::reader::dds method
Definition at line 81 of file XML_String_Intf.h.
Referenced by init(), QOS_XML_String_Handler(), and ~QOS_XML_String_Handler().
|
private |
Parser.
Definition at line 77 of file XML_String_Intf.h.
Referenced by init(), QOS_XML_String_Handler(), and ~QOS_XML_String_Handler().
|
private |
Schema resolver.
Definition at line 71 of file XML_String_Intf.h.
Referenced by add_search_path(), init(), and ~QOS_XML_String_Handler().