Changeset 174 for trunk/src/symtab.h


Ignore:
Timestamp:
Jun 27, 2008, 11:21:42 AM (11 years ago)
Author:
lindanl
Message:

Nmtokens.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/symtab.h

    r173 r174  
    5252
    5353        int Insert_Name(char * name, int lgth);
    54         int ASCII_Lookup_or_Insert(char * name, int lgth);     
    55         int UTF8_Lookup_or_Insert(char * name, int lgth);
     54        int ASCII_Lookup_or_Insert_Name(char * name, int lgth);
     55        int UTF8_Lookup_or_Insert_Name(char * name, int lgth);
     56        int ASCII_Lookup_or_Insert_Nmtoken(char * name, int lgth);     
     57        int UTF8_Lookup_or_Insert_Nmtoken(char * name, int lgth);
    5658
    5759        char * Get_UTF8_name(int nameID);
    5860        int Get_UTF8_lgth(int nameID);
     61
     62        char * Get_UTF8_nmtoken(int nmtokenID);
     63        int Get_UTF8_nmtoken_lgth(int nmtokenID);
    5964       
    6065        char * ReserveSymbolSpace(int u8_lgth);
    6166        int LookupOrInsertReserved();
     67        int LookupOrInsertReserved_nmtoken();
    6268       
    6369        XML_version version;
    6470        vector<Name_Data> UTF8NameTable;
     71        vector<Name_Data> UTF8NmtokenTable;
    6572private:
    6673        hash_map<const char *, int, hash<const char *>, eqstr > UTF8NameMap;
     74        hash_map<const char *, int, hash<const char *>, eqstr > UTF8NmtokenMap;
    6775        int globalNameCount;
     76        int globalNmtokenCount;
    6877//      vector<char *> UTF8NameTable;
    6978
Note: See TracChangeset for help on using the changeset viewer.