ACE  6.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
ACE_XML_Svc_Conf Class Referenceabstract

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
 

Detailed Description

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);

Member Typedef Documentation

typedef ACE_XML_Svc_Conf*(* ACE_XML_Svc_Conf::Factory)(void)

Constructor & Destructor Documentation

ACE_XML_Svc_Conf::~ACE_XML_Svc_Conf ( void  )
pure virtual

Member Function Documentation

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

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