00001 //%///////////////////////////////////////////////////////////////////////////// 00002 // 00003 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, 00004 // The Open Group, Tivoli Systems 00005 // Portions Copyright (C) 2003-2004 Vintela, Inc. All rights reserved. 00006 // 00007 // Permission is hereby granted, free of charge, to any person obtaining a copy 00008 // of this software and associated documentation files (the "Software"), to 00009 // deal in the Software without restriction, including without limitation the 00010 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 00011 // sell copies of the Software, and to permit persons to whom the Software is 00012 // furnished to do so, subject to the following conditions: 00013 // 00014 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN 00015 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED 00016 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 00017 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 00018 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 00019 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 00020 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 00021 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00022 // 00023 //============================================================================== 00024 // 00025 // Author: Mike Brasher (mbrasher@bmc.com) 00026 // 00027 // Modified By: Dan Nuffer 00028 // 00029 //%///////////////////////////////////////////////////////////////////////////// 00030 #ifndef OWBI1_WQL_PROPERTY_SOURCE_HPP_INCLUDE_GUARD_ 00031 #define OWBI1_WQL_PROPERTY_SOURCE_HPP_INCLUDE_GUARD_ 00032 #include "OWBI1_config.h" 00033 #include "OWBI1_String.hpp" 00034 #include "OWBI1_WQLOperand.hpp" 00035 00036 namespace OWBI1 00037 { 00038 00044 class OWBI1_OWBI1PROVIFC_API WQLPropertySource 00045 { 00046 public: 00049 virtual ~WQLPropertySource(); 00066 virtual bool getValue( 00067 const String& propertyName, 00068 WQLOperand& value) const = 0; 00084 virtual bool evaluateISA( 00085 const String& propertyName, 00086 const String& className) const = 0; 00087 }; 00088 00089 } // end namespace OWBI1 00090 00091 #endif