00001 /***************************************************************************** 00002 * Copyright (C) 2011 by Benjamin Hadorn (b_hadorn@bluewin.ch) 00003 ***************************************************************************** 00004 * Project : Zeus Base Library 00005 * Module : IPropertyAccess 00006 * Package : Zeus.ZeusBase.System.Interfaces 00007 * Author : Benjamin Hadorn 00008 * Date : 08.11.2011 00009 * System : Zeus-Framework 00010 ***************************************************************************** 00011 * Licence: * 00012 * This library is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU Lesser General Public License as * 00014 * published by the Free Software Foundation; either version * 00015 * 2.1 of the License, or (at your option) any later version. * 00016 * * 00017 * This library is distributed in the hope that it will be useful, * 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00020 * GNU Lesser General Public License for more details. * 00021 * * 00022 * You should have received a copy of the GNU Lesser General Public * 00023 * License along with this library; if not, write to the Free Software * 00024 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA * 00025 *****************************************************************************/ 00026 00027 00028 /*************************************************************************** 00029 GENERATED : xIDL COMPILER 1.0 00030 DATE : 2012-01-16 18:50:29 00031 CAUTION : Don't change the file manualy. Change xidl file instead. 00032 ***************************************************************************/ 00033 00034 #ifndef IPropertyAccessHPP 00035 #define IPropertyAccessHPP 00036 00037 #include <zeusbase/System/Interfaces/IZUnknown.hpp> 00038 #include <zeusbase/System/Interfaces/IString.hpp> 00039 #include <zeusbase/System/Interfaces/IStringList.hpp> 00040 00041 BEGIN_NAMESPACE_Zeus 00042 00043 // {16B02AF6-FA7F-4ece-8D4D-E3DFBFD97582} 00044 #define INTERFACE_IPropertyAccess TIID(0x16B02AF6, 0xFA7F, 0x4ece, 0x8D, 0x4D, 0xE3, 0xDF, 0xBF, 0xD9, 0x75, 0x82) 00045 00046 /*****************************************************************************/ 00049 /*****************************************************************************/ 00050 class IPropertyAccess : public IZUnknown 00051 { 00052 HIDE_ASSIGNMENT_OPERATOR(IPropertyAccess) 00053 00054 public: 00055 /*************************************************************************/ 00062 /*************************************************************************/ 00063 virtual Retval MQUALIFIER addProperty(const IString& rstrName, const IString& rstrValue) = 0; 00064 00065 /*************************************************************************/ 00071 /*************************************************************************/ 00072 virtual bool MQUALIFIER existsProperty(const IString& rstrName) const = 0; 00073 00074 /*************************************************************************/ 00078 /*************************************************************************/ 00079 virtual void MQUALIFIER getPropertyNames(IStringList& rList) const = 0; 00080 00081 /*************************************************************************/ 00086 /*************************************************************************/ 00087 virtual void MQUALIFIER getPropertyNamesByNameSpace(const IString& rstrNameSpace, IStringList& rList) const = 0; 00088 00089 /*************************************************************************/ 00096 /*************************************************************************/ 00097 virtual Retval MQUALIFIER getPropertyValue(const IString& rstrName, IString& rstrValue) const = 0; 00098 00099 /*************************************************************************/ 00106 /*************************************************************************/ 00107 virtual Retval MQUALIFIER setPropertyValue(const IString& rstrName, const IString& rstrValue) = 0; 00108 00109 /*************************************************************************/ 00118 /*************************************************************************/ 00119 virtual Retval MQUALIFIER getPropertyPathValue(const IString& rstrName, IString& rstrValue) const = 0; 00120 00121 /*************************************************************************/ 00130 /*************************************************************************/ 00131 virtual Retval MQUALIFIER getPropertyFileValue(const IString& rstrName, IString& rstrValue) const = 0; 00132 00133 }; 00134 00135 END_NAMESPACE_Zeus 00136 00137 #endif //define IPropertyAccessHPP