ACEXML
6.1.6
|
Class to manage and resolve entity references. More...
#include <ACEXML/parser/parser/Entity_Manager.h>
Public Member Functions | |
ACEXML_Entity_Manager (void) | |
Default constructor. | |
~ACEXML_Entity_Manager (void) | |
Destructor. | |
int | add_entity (const ACEXML_Char *ref, const ACEXML_Char *value) |
Add a new entity declaration. | |
const ACEXML_Char * | resolve_entity (const ACEXML_Char *ref) |
Resolve an entity reference. | |
int | resolve_entity (const ACEXML_Char *ref, ACEXML_Char *&systemId, ACEXML_Char *&publicId) |
size_t | size (void) const |
Number of items in the Entity Manager. | |
int | reset (void) |
Reset the state. |
Private Attributes | |
ACEXML_ENTITIES_MANAGER * | entities_ |
bool | init_ |
Class to manage and resolve entity references.
ACEXML_Entity_Manager::ACEXML_Entity_Manager | ( | void | ) |
Default constructor.
ACEXML_Entity_Manager::~ACEXML_Entity_Manager | ( | void | ) |
Destructor.
ACEXML_INLINE int ACEXML_Entity_Manager::add_entity | ( | const ACEXML_Char * | ref, |
const ACEXML_Char * | value | ||
) |
Add a new entity declaration.
ACEXML_INLINE int ACEXML_Entity_Manager::reset | ( | void | ) |
Reset the state.
ACEXML_INLINE const ACEXML_Char * ACEXML_Entity_Manager::resolve_entity | ( | const ACEXML_Char * | ref | ) |
Resolve an entity reference.
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
ACEXML_INLINE size_t ACEXML_Entity_Manager::size | ( | void | ) | const |
Number of items in the Entity Manager.
|
private |
|
private |