version 1.22, 2002/05/15 12:28:22
|
version 1.25, 2002/06/01 00:56:29
|
|
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 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 |
|
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/CIMType.h> | #include <Pegasus/Common/CIMType.h> |
#include <Pegasus/Common/CIMReference.h> |
#include <Pegasus/Common/CIMObjectPath.h> |
#include <Pegasus/Common/CIMDateTime.h> | #include <Pegasus/Common/CIMDateTime.h> |
#include <Pegasus/Common/Exception.h> | #include <Pegasus/Common/Exception.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
|
|
CIMValue(const CIMDateTime& x); | CIMValue(const CIMDateTime& x); |
| |
/// Constructor | /// Constructor |
CIMValue(const CIMReference& x); |
CIMValue(const CIMObjectPath& x); |
| |
/// Constructor | /// Constructor |
CIMValue(const Array<Boolean>& x); | CIMValue(const Array<Boolean>& x); |
|
|
CIMValue(const Array<CIMDateTime>& x); | CIMValue(const Array<CIMDateTime>& x); |
| |
/// Constructor | /// Constructor |
CIMValue(const Array<CIMReference>& x); |
CIMValue(const Array<CIMObjectPath>& x); |
| |
/// Constructor | /// Constructor |
CIMValue(const CIMValue& x); | CIMValue(const CIMValue& x); |
|
|
/// | /// |
void set(const CIMDateTime& x); | void set(const CIMDateTime& x); |
/// | /// |
void set(const CIMReference& x); |
void set(const CIMObjectPath& x); |
/// | /// |
void set(const Array<Boolean>& x); | void set(const Array<Boolean>& x); |
/// | /// |
|
|
/// | /// |
void set(const Array<CIMDateTime>& x); | void set(const Array<CIMDateTime>& x); |
/// | /// |
void set(const Array<CIMReference>& x); |
void set(const Array<CIMObjectPath>& x); |
| |
/** get - Gets the value of a CIMValue | /** get - Gets the value of a CIMValue |
@param Variable in which we return the value: | @param Variable in which we return the value: |
|
|
/// | /// |
void get(CIMDateTime& x) const; | void get(CIMDateTime& x) const; |
/// | /// |
void get(CIMReference& x) const; |
void get(CIMObjectPath& x) const; |
/// | /// |
void get(Array<Boolean>& x) const; | void get(Array<Boolean>& x) const; |
/// | /// |
|
|
/// | /// |
void get(Array<CIMDateTime>& x) const; | void get(Array<CIMDateTime>& x) const; |
/// | /// |
void get(Array<CIMReference>& x) const; |
void get(Array<CIMObjectPath>& x) const; |
| |
/** Makes a deep copy (clone) of the given object. */ | /** Makes a deep copy (clone) of the given object. */ |
CIMValue clone() const; | CIMValue clone() const; |
|
|
PEGASUS_COMMON_LINKAGE Boolean operator!=(const CIMValue& x, const CIMValue& y); | PEGASUS_COMMON_LINKAGE Boolean operator!=(const CIMValue& x, const CIMValue& y); |
| |
#define PEGASUS_ARRAY_T CIMValue | #define PEGASUS_ARRAY_T CIMValue |
# include "ArrayInter.h" |
# include <Pegasus/Common/ArrayInter.h> |
#undef PEGASUS_ARRAY_T | #undef PEGASUS_ARRAY_T |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |