Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Entity_Manager.i

Go to the documentation of this file.
00001 // $Id: Entity_Manager.i,v 1.1.1.1 2003/02/21 18:36:32 chad Exp $
00002 
00003 ACEXML_INLINE int
00004 ACEXML_Entity_Manager::add_entity (const ACEXML_Char *ref,
00005                                    const ACEXML_Char *v)
00006 {
00007   ACEXML_String name (ref, 0, 0);
00008   ACEXML_String value  (v, 0, 0);
00009   return this->entities_.bind (name, value);
00010 }
00011 
00012 ACEXML_INLINE const ACEXML_String *
00013 ACEXML_Entity_Manager::resolve_entity (const ACEXML_Char *ref)
00014 {
00015   ACEXML_ENTITY_ENTRY *entry;
00016 
00017   if (this->entities_.find (ACEXML_String (ref, 0, 0),
00018                             entry) == 0)
00019     return &entry->int_id_;
00020   return 0;
00021 }

Generated on Mon Jun 16 13:23:21 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002