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

Entity_Manager.cpp

Go to the documentation of this file.
00001 // $Id: Entity_Manager.cpp,v 1.1.1.1 2003/02/21 18:36:32 chad Exp $
00002 
00003 #include "ACEXML/parser/parser/Entity_Manager.h"
00004 
00005 #if !defined (__ACEXML_INLINE__)
00006 # include "ACEXML/parser/parser/Entity_Manager.i"
00007 #endif /* __ACEXML_INLINE__ */
00008 
00009 static const ACEXML_Char amp_name[] = {'a', 'm', 'p', 0 };
00010 static const ACEXML_Char amp_value[] = {'&', 0};
00011 static const ACEXML_Char lt_name[] = {'l', 't', 0};
00012 static const ACEXML_Char lt_value[] = {'<', 0};
00013 static const ACEXML_Char gt_name[] = {'g', 't', 0};
00014 static const ACEXML_Char gt_value[] = {'>', 0};
00015 static const ACEXML_Char apos_name[] = {'a', 'p', 'o', 's', 0};
00016 static const ACEXML_Char apos_value[] = {'\'', 0};
00017 static const ACEXML_Char quot_name[] = {'q', 'u', 'o', 't', 0};
00018 static const ACEXML_Char quot_value[] = {'"', 0};
00019 
00020 ACEXML_Entity_Manager::ACEXML_Entity_Manager (void)
00021   : entities_ ()
00022 {
00023   // @@ No way to know if these bindings succeed or not.
00024 
00025   ACEXML_String ampname (amp_name, 0, 0);
00026   ACEXML_String ampvalue  (amp_value, 0, 0);
00027   this->entities_.bind (ampname, ampvalue);
00028 
00029   ACEXML_String ltname (lt_name, 0, 0);
00030   ACEXML_String ltvalue  (lt_value, 0, 0);
00031   this->entities_.bind (ltname, ltvalue);
00032 
00033   ACEXML_String gtname (gt_name, 0, 0);
00034   ACEXML_String gtvalue  (gt_value, 0, 0);
00035   this->entities_.bind (gtname, gtvalue);
00036 
00037   ACEXML_String aposname (apos_name, 0, 0);
00038   ACEXML_String aposvalue  (apos_value, 0, 0);
00039   this->entities_.bind (aposname, aposvalue);
00040 
00041   ACEXML_String quotname (quot_name, 0, 0);
00042   ACEXML_String quotvalue  (quot_value, 0, 0);
00043   this->entities_.bind (quotname, quotvalue);
00044 }
00045 
00046 ACEXML_Entity_Manager::~ACEXML_Entity_Manager (void)
00047 {
00048 }

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