version 1.1.2.3, 2001/12/03 06:11:10
|
version 1.4, 2003/02/12 17:18:39
|
|
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// | // |
// 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 |
|
|
// | // |
// 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) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
#define Pegasus_WQLPropertySource_h | #define Pegasus_WQLPropertySource_h |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> |
#include <Pegasus/Common/CIMName.h> |
#include <Pegasus/WQL/Linkage.h> | #include <Pegasus/WQL/Linkage.h> |
#include <Pegasus/WQL/WQLOperand.h> | #include <Pegasus/WQL/WQLOperand.h> |
| |
|
|
{ | { |
public: | public: |
| |
|
/** Virtual destructor. |
|
*/ |
virtual ~WQLPropertySource(); | virtual ~WQLPropertySource(); |
| |
// |
/** Returns the value whose property has the given name. The output |
// Returns the value of the property with the given name: |
parameter value is populated with the value of that parameter. |
// |
Note that only integer, double, and string types are supported |
|
(see the WQLOperand class). The implementer of this method must |
|
perform appropriate conversions to the appropriate type. |
|
|
|
@param propertyName name of property to be gotten. |
|
@param value holds the value of the property upon return. |
|
@return true if such a property was found and false otherwise. |
|
*/ |
virtual Boolean getValue( | virtual Boolean getValue( |
const String& propertyName, |
const CIMName& propertyName, |
WQLOperand& value) const = 0; | WQLOperand& value) const = 0; |
}; | }; |
| |