ACE
6.1.0
|
This abstract class defines the common operations ACE_Service_Config expects when using the XML Service Config Parser. More...
#include <XML_Svc_Conf.h>
Public Types | |
typedef ACE_XML_Svc_Conf *(* | Factory )(void) |
Public Member Functions | |
virtual | ~ACE_XML_Svc_Conf (void)=0 |
virtual int | parse_file (const ACE_TCHAR file[])=0 |
virtual int | parse_string (const ACE_TCHAR str[])=0 |
This abstract class defines the common operations ACE_Service_Config expects when using the XML Service Config Parser.
When implementing a concret XML_Svc_Conf class, be sure to overload the new/delete function so the dynamically created concret XML_Svc_Conf instance can be deleted from the original heap in the DLL/SO. The concret XML_Svc_Conf implementation will be put into a DLL/SO that ACE applications can link to dynamically using the ACE_DLL class. This DLL should include an operation as follow:
extern "C" ACE_XML_Svc_Conf_Parser * _ACEXML_create_XML_Svc_Conf_Object (void);
typedef ACE_XML_Svc_Conf*(* ACE_XML_Svc_Conf::Factory)(void) |
ACE_XML_Svc_Conf::~ACE_XML_Svc_Conf | ( | void | ) | [pure virtual] |
virtual int ACE_XML_Svc_Conf::parse_file | ( | const ACE_TCHAR | file[] | ) | [pure virtual] |
virtual int ACE_XML_Svc_Conf::parse_string | ( | const ACE_TCHAR | str[] | ) | [pure virtual] |