|
OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <XML_File_Intf.h>


Private Types | |
| typedef XML::XML_Schema_Resolver< XML::Environment_Resolver > | XML_RESOLVER |
| typedef XML::XML_Helper< XML_RESOLVER, XML::XML_Error_Handler > | XML_HELPER |
Private Attributes | |
| XML_RESOLVER * | res_ |
| Schema resolver. More... | |
| XML::XML_Error_Handler * | eh_ |
| Error handler. More... | |
| XML_HELPER | helper_ |
| XML Helper. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from OpenDDS::DCPS::QOS_XML_Handler | |
| ::dds::qosProfile * | get_profile (const ACE_TCHAR *profile_name) |
Protected Attributes inherited from OpenDDS::DCPS::QOS_XML_Handler | |
| ::dds::qosProfile_seq | profiles_ |
Definition at line 38 of file XML_File_Intf.h.
|
private |
Definition at line 67 of file XML_File_Intf.h.
|
private |
Definition at line 66 of file XML_File_Intf.h.
|
explicit |
Pass an optional which is called back when there are any errors parsing the input XML. The QOS_XML_File_Handler will assume ownership when a pointer is passed
Definition at line 12 of file XML_File_Intf.cpp.
| OpenDDS::DCPS::QOS_XML_File_Handler::~QOS_XML_File_Handler | ( | ) |
Definition at line 20 of file XML_File_Intf.cpp.
| void OpenDDS::DCPS::QOS_XML_File_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 97 of file XML_File_Intf.cpp.
References helper_, and OPENDDS_END_VERSIONED_NAMESPACE_DECL.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::init().
| DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_File_Handler::init | ( | const ACE_TCHAR * | file | ) |
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 27 of file XML_File_Intf.cpp.
References CORBA::Exception::_info(), ACE_DEBUG, ACE_ERROR, ACE_TEXT(), ACE_String_Base< char >::c_str(), OpenDDS::DCPS::DCPS_debug_level, dds::reader::dds(), helper_, LM_ERROR, LM_TRACE, OpenDDS::DCPS::QOS_XML_Handler::profiles_, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::init().
|
private |
Error handler.
Definition at line 73 of file XML_File_Intf.h.
Referenced by ~QOS_XML_File_Handler().
|
private |
XML Helper.
Definition at line 76 of file XML_File_Intf.h.
Referenced by add_search_path(), and init().
|
private |
Schema resolver.
Definition at line 70 of file XML_File_Intf.h.
Referenced by ~QOS_XML_File_Handler().
1.8.13