(file) Return to XmlParser.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/XmlParser.h between version 1.30 and 1.30.8.2

version 1.30, 2007/07/30 06:50:57 version 1.30.8.2, 2008/03/11 22:44:11
Line 104 
Line 104 
     XmlSemanticError(Uint32 lineNumber, MessageLoaderParms& msgParms);     XmlSemanticError(Uint32 lineNumber, MessageLoaderParms& msgParms);
 }; };
  
   struct XmlNamespace
   {
       const char* localName;
       const char* extendedName;
       int type;
       Uint32 scopeLevel;
   };
   
 struct XmlAttribute struct XmlAttribute
 { {
     const char* name;     const char* name;
Line 124 
Line 132 
         CONTENT         CONTENT
     };     };
  
     enum { MAX_ATTRIBUTES = 10 };  
   
     CIMType type;     CIMType type;
       int nsType;
     const char* text;     const char* text;
     XmlAttribute attributes[MAX_ATTRIBUTES];      Array<XmlAttribute> attributes;
     Uint32 attributeCount;  
  
     void print() const;     void print() const;
  
Line 155 
Line 161 
  
     // Warning: this constructor modifies the text.     // Warning: this constructor modifies the text.
  
     XmlParser(char* text);      XmlParser(char* text, XmlNamespace* ns = 0);
  
     /** Comments are returned with entry if includeComment is true else     /** Comments are returned with entry if includeComment is true else
         XmlParser ignores comments. Default is false.         XmlParser ignores comments. Default is false.
Line 170 
Line 176 
  
     Uint32 getLine() const { return _line; }     Uint32 getLine() const { return _line; }
  
       XmlNamespace* getNamespace(int nsType);
       int getSupportedNamespaceType(const char* extendedName);
   
 private: private:
  
     Boolean _getElementName(char*& p);     Boolean _getElementName(char*& p);
Line 186 
Line 195 
  
     void _getElement(char*& p, XmlEntry& entry);     void _getElement(char*& p, XmlEntry& entry);
  
       int _getNamespaceType(const char* tag);
   
     Uint32 _line;     Uint32 _line;
     char* _current;     char* _current;
     char _restoreChar;     char _restoreChar;
     Stack<char*> _stack;     Stack<char*> _stack;
     Boolean _foundRoot;     Boolean _foundRoot;
     Stack<XmlEntry> _putBackStack;     Stack<XmlEntry> _putBackStack;
   
       Uint32 _scopeLevel;
       XmlNamespace* _supportedNamespaces;
       Stack<XmlNamespace> _nameSpaces;
 }; };
  
 PEGASUS_COMMON_LINKAGE void XmlAppendCString( PEGASUS_COMMON_LINKAGE void XmlAppendCString(


Legend:
Removed from v.1.30  
changed lines
  Added in v.1.30.8.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2