20 #include <metaproxy/router_xml.hpp>
29 Rep(xmlDocPtr,
bool,
const char *);
30 Rep(std::string,
bool);
37 mp::RouterXML::Rep::Rep(xmlDocPtr doc,
bool test_only,
38 const char *include_path)
40 m_flexml(new
RouterFleXML(doc, m_factory, test_only, include_path))
44 mp::RouterXML::Rep::Rep(std::string xmlconf,
bool test_only)
46 m_flexml(new
RouterFleXML(xmlconf, m_factory, test_only))
50 mp::RouterXML::Rep::~Rep()
54 mp::RouterXML::RouterXML(xmlDocPtr doc,
55 bool test_only,
const char *file_include_path)
56 : m_p(new
Rep(doc, test_only, file_include_path))
60 mp::RouterXML::RouterXML(std::string xmlconf,
bool test_only)
61 : m_p(new Rep(xmlconf, test_only))
65 mp::RouterXML::~RouterXML()
69 mp::RoutePos *mp::RouterXML::createpos()
const
71 return m_p->m_flexml->createpos();
74 void mp::RouterXML::start()
76 m_p->m_flexml->start();
79 void mp::RouterXML::stop(
int signo)
81 m_p->m_flexml->stop(signo);