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

Diff for /pegasus/src/Pegasus/Common/XmlReader.h between version 1.12 and 1.21

version 1.12, 2001/06/16 17:30:40 version 1.21, 2002/02/20 03:51:30
Line 1 
Line 1 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM  // Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM,
   // The Open Group, Tivoli Systems
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 22 
Line 23 
 // //
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By:  // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
   //                  (carolann_graves@hp.com)
   //              Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com)
   //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 44 
Line 48 
 class CIMProperty; class CIMProperty;
 class CIMParameter; class CIMParameter;
 class CIMMethod; class CIMMethod;
   class CIMObject;
   class CIMNamedInstance;
   class CIMObjectWithPath;
   class CIMParamValue;
  
 class PEGASUS_COMMON_LINKAGE XmlReader class PEGASUS_COMMON_LINKAGE XmlReader
 { {
Line 71 
Line 79 
         XmlParser& parser,         XmlParser& parser,
         XmlEntry& entry);         XmlEntry& entry);
  
       static Boolean testXmlDeclaration (
         XmlParser& parser,
         XmlEntry& entry);
   
     static Boolean testStartTag(     static Boolean testStartTag(
         XmlParser& parser,         XmlParser& parser,
         XmlEntry& entry,         XmlEntry& entry,
Line 91 
Line 103 
  
     static void testCimStartTag(XmlParser& parser);     static void testCimStartTag(XmlParser& parser);
  
     static Boolean getIsArrayAttribute(  
         Uint32 lineNumber,  
         const XmlEntry& entry,  
         const char* tagName,  
         Boolean& value);  
   
     static String getCimNameAttribute(     static String getCimNameAttribute(
         Uint32 lineNumber,         Uint32 lineNumber,
         const XmlEntry& entry,         const XmlEntry& entry,
Line 126 
Line 132 
     static CIMType getCimTypeAttribute(     static CIMType getCimTypeAttribute(
         Uint32 lineNumber,         Uint32 lineNumber,
         const XmlEntry& entry,         const XmlEntry& entry,
         const char* tagName);          const char* tagName,
           const char* attributeName = "TYPE",
           Boolean required = true);
  
     static Boolean getCimBooleanAttribute(     static Boolean getCimBooleanAttribute(
         Uint32 lineNumber,         Uint32 lineNumber,
Line 153 
Line 161 
         const char* valueString,         const char* valueString,
         CIMType type);         CIMType type);
  
       /* getValueElement - Gets the CIMType and CIMValue for a single
           XML Value element.  It expects <VALUE> as the start tag.
           @return Returns True if the value element exists
       */
     static Boolean getValueElement(     static Boolean getValueElement(
         XmlParser& parser,         XmlParser& parser,
         CIMType type,         CIMType type,
         CIMValue& value);         CIMValue& value);
  
       static Boolean getStringValueElement(
           XmlParser& parser,
           String& str,
           Boolean required);
   
     static CIMValue stringArrayToValue(     static CIMValue stringArrayToValue(
         Uint32 lineNumber,         Uint32 lineNumber,
         const Array<const char*>& array,         const Array<const char*>& array,
Line 237 
Line 254 
         String& className,         String& className,
         Array<KeyBinding>& keyBindings);         Array<KeyBinding>& keyBindings);
  
       static Boolean getInstanceNameElement(
           XmlParser& parser,
           CIMReference& instanceName);
   
     static Boolean getInstancePathElement(     static Boolean getInstancePathElement(
         XmlParser& parser,         XmlParser& parser,
         CIMReference& reference);         CIMReference& reference);
Line 273 
Line 294 
         XmlParser& parser,         XmlParser& parser,
         CIMParameter& parameter);         CIMParameter& parameter);
  
       static Boolean getParameterReferenceArrayElement(
           XmlParser& parser,
           CIMParameter& parameter);
   
     static Boolean getQualifierDeclElement(     static Boolean getQualifierDeclElement(
         XmlParser& parser,         XmlParser& parser,
         CIMQualifierDecl& qualifierDecl);         CIMQualifierDecl& qualifierDecl);
Line 289 
Line 314 
         XmlParser& parser,         XmlParser& parser,
         CIMInstance& cimInstance);         CIMInstance& cimInstance);
  
       static Boolean getNamedInstanceElement(
           XmlParser& parser,
           CIMNamedInstance& namedInstance);
   
     static void getObject(XmlParser& parser, CIMClass& x);     static void getObject(XmlParser& parser, CIMClass& x);
  
     static void getObject(XmlParser& parser, CIMInstance& x);     static void getObject(XmlParser& parser, CIMInstance& x);
Line 323 
Line 352 
  
     static Boolean getErrorElement(     static Boolean getErrorElement(
         XmlParser& parser,         XmlParser& parser,
         CIMException::Code& code,          CIMStatusCode& code,
         const char*& description,         const char*& description,
         Boolean required = false);         Boolean required = false);
  
       static Boolean getObjectWithPath(
           XmlParser& parser,
           CIMObjectWithPath& objectWithPath);
   
       static Boolean getObjectNameElement(
           XmlParser& parser,
           CIMReference& objectName);
   
       static Boolean getObjectPathElement(
           XmlParser& parser,
           CIMReference& objectPath);
   
       static Boolean getEMethodCallStartTag(
           XmlParser& parser,
           const char*& name);
   
       static Boolean getEMethodResponseStartTag(
           XmlParser& parser,
           const char*& name);
   
       static Boolean getMethodCallStartTag(
           XmlParser& parser,
           const char*& name);
   
       static Boolean getMethodResponseStartTag(
           XmlParser& parser,
           const char*& name);
   
       static Boolean getParamValueElement(
           XmlParser& parser,
           CIMParamValue& paramValue);
   
 private: private:
  
     XmlReader()     XmlReader()


Legend:
Removed from v.1.12  
changed lines
  Added in v.1.21

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2