version 1.29, 2002/05/17 22:33:30
|
version 1.39, 2002/09/12 17:27:01
|
|
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// | // |
// 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 CIMValue; |
| |
|
|
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); |
| |
static CIMType getCimTypeAttribute( |
static Boolean getCimTypeAttribute( |
Uint32 lineNumber, | Uint32 lineNumber, |
const XmlEntry& entry, | const XmlEntry& entry, |
|
CIMType& cimType, // Output parameter |
const char* tagName, | const char* tagName, |
const char* attributeName = "TYPE", | const char* attributeName = "TYPE", |
Boolean required = true); | Boolean required = true); |
|
|
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( |
|
|
String& className, | String& className, |
Boolean required = false); | Boolean required = false); |
| |
static KeyBinding::Type getValueTypeAttribute( |
static CIMKeyBinding::Type getValueTypeAttribute( |
Uint32 lineNumber, | Uint32 lineNumber, |
const XmlEntry& entry, | const XmlEntry& entry, |
const char* elementName); | const char* elementName); |
| |
static Boolean getKeyValueElement( | static Boolean getKeyValueElement( |
XmlParser& parser, | XmlParser& parser, |
KeyBinding::Type& type, |
CIMKeyBinding::Type& type, |
String& value); | String& value); |
| |
static Boolean getKeyBindingElement( | static Boolean getKeyBindingElement( |
XmlParser& parser, | XmlParser& parser, |
String& name, | String& name, |
String& value, | String& value, |
KeyBinding::Type& type); |
CIMKeyBinding::Type& type); |
| |
static Boolean getInstanceNameElement( | static Boolean getInstanceNameElement( |
XmlParser& parser, | XmlParser& parser, |
String& className, | String& className, |
Array<KeyBinding>& keyBindings); |
Array<CIMKeyBinding>& keyBindings); |
| |
static Boolean getInstanceNameElement( | static Boolean getInstanceNameElement( |
XmlParser& parser, | XmlParser& parser, |
|
|
| |
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, |