version 1.28, 2002/05/15 23:14:21
|
version 1.37, 2002/08/08 18:30:00
|
|
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// The Open Group, Tivoli Systems | // 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 |
|
|
#include <Pegasus/Common/XmlParser.h> | #include <Pegasus/Common/XmlParser.h> |
#include <Pegasus/Common/CIMFlavor.h> | #include <Pegasus/Common/CIMFlavor.h> |
#include <Pegasus/Common/CIMScope.h> | #include <Pegasus/Common/CIMScope.h> |
|
#include <Pegasus/Common/CIMType.h> |
#include <Pegasus/Common/CIMObjectPath.h> | #include <Pegasus/Common/CIMObjectPath.h> |
|
#include <Pegasus/Common/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
class CIMParameter; | class CIMParameter; |
class CIMMethod; | class CIMMethod; |
class CIMObject; | class CIMObject; |
class CIMNamedInstance; |
|
class CIMObjectWithPath; |
|
class CIMParamValue; | class CIMParamValue; |
|
class CIMValue; |
| |
class PEGASUS_COMMON_LINKAGE XmlReader | class PEGASUS_COMMON_LINKAGE XmlReader |
{ | { |
|
|
const XmlEntry& entry, | const XmlEntry& entry, |
const char* elementName); | const char* elementName); |
| |
static String getClassOriginAttribute( |
static CIMName getClassOriginAttribute( |
Uint32 lineNumber, | Uint32 lineNumber, |
const XmlEntry& entry, | const XmlEntry& entry, |
const char* tagName); | const char* tagName); |
| |
static String getReferenceClassAttribute( |
static CIMName getReferenceClassAttribute( |
Uint32 lineNumber, | Uint32 lineNumber, |
const XmlEntry& entry, | const XmlEntry& entry, |
const char* elementName); | const char* elementName); |
| |
static String getSuperClassAttribute( |
static CIMName getSuperClassAttribute( |
Uint32 lineNumber, | Uint32 lineNumber, |
const XmlEntry& entry, | const XmlEntry& entry, |
const char* tagName); | const char* tagName); |
|
|
CIMType type, | CIMType type, |
CIMValue& value); | CIMValue& value); |
| |
static Uint32 getFlavor( |
static CIMFlavor getFlavor( |
XmlEntry& entry, | XmlEntry& entry, |
Uint32 lineNumber, | Uint32 lineNumber, |
const char* tagName); | const char* tagName); |
| |
static Uint32 getOptionalScope( |
static CIMScope getOptionalScope( |
XmlParser& parser); | XmlParser& parser); |
| |
static Boolean getQualifierElement( | static Boolean getQualifierElement( |
|
|
| |
static Boolean getNamedInstanceElement( | static Boolean getNamedInstanceElement( |
XmlParser& parser, | XmlParser& parser, |
CIMNamedInstance& namedInstance); |
CIMInstance& namedInstance); |
| |
static void getObject(XmlParser& parser, CIMClass& x); | static void getObject(XmlParser& parser, CIMClass& x); |
| |
|
|
| |
static Boolean getValueObjectWithPathElement( | static Boolean getValueObjectWithPathElement( |
XmlParser& parser, | XmlParser& parser, |
CIMObjectWithPath& objectWithPath); |
CIMObject& objectWithPath); |
| |
static Boolean getValueObjectWithLocalPathElement( | static Boolean getValueObjectWithLocalPathElement( |
XmlParser& parser, | XmlParser& parser, |
CIMObjectWithPath& objectWithPath); |
CIMObject& objectWithPath); |
| |
static void getObjectArray( | static void getObjectArray( |
XmlParser& parser, | XmlParser& parser, |
Array<CIMObjectWithPath>& objectArray); |
Array<CIMObject>& objectArray); |
| |
static Boolean getObjectNameElement( | static Boolean getObjectNameElement( |
XmlParser& parser, | XmlParser& parser, |