ACEXML 7.0.10
No Matches
Public Member Functions | Private Attributes | List of all members
ACEXML_Entity_Manager Class Reference

Class to manage and resolve entity references. More...

#include "ACEXML/parser/parser/Entity_Manager.h"

Collaboration diagram for ACEXML_Entity_Manager:
Collaboration graph

Public Member Functions

 ACEXML_Entity_Manager ()
 Default constructor. More...
 ~ACEXML_Entity_Manager ()
 Destructor. More...
int add_entity (const ACEXML_Char *ref, const ACEXML_Char *value)
 Add a new entity declaration. More...
const ACEXML_Charresolve_entity (const ACEXML_Char *ref)
 Resolve an entity reference. More...
int resolve_entity (const ACEXML_Char *ref, ACEXML_Char *&systemId, ACEXML_Char *&publicId)
size_t size () const
 Number of items in the Entity Manager. More...
int reset ()
 Reset the state. More...

Private Attributes


Detailed Description

Class to manage and resolve entity references.

Fill in details for this class.

Constructor & Destructor Documentation

◆ ACEXML_Entity_Manager()

ACEXML_Entity_Manager::ACEXML_Entity_Manager ( )

Default constructor.

◆ ~ACEXML_Entity_Manager()

ACEXML_Entity_Manager::~ACEXML_Entity_Manager ( )


Member Function Documentation

◆ add_entity()

ACEXML_INLINE int ACEXML_Entity_Manager::add_entity ( const ACEXML_Char ref,
const ACEXML_Char value 

Add a new entity declaration.

◆ reset()

ACEXML_INLINE int ACEXML_Entity_Manager::reset ( )

Reset the state.

◆ resolve_entity() [1/2]

ACEXML_INLINE const ACEXML_Char * ACEXML_Entity_Manager::resolve_entity ( const ACEXML_Char ref)

Resolve an entity reference.

◆ resolve_entity() [2/2]

ACEXML_INLINE int ACEXML_Entity_Manager::resolve_entity ( const ACEXML_Char ref,
ACEXML_Char *&  systemId,
ACEXML_Char *&  publicId 

Resolve an entity reference and return the tuple of systemId and publicId

◆ size()

ACEXML_INLINE size_t ACEXML_Entity_Manager::size ( ) const

Number of items in the Entity Manager.

Member Data Documentation

◆ entities_


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