00001 /***************************************************************************** 00002 * Copyright (C) 2011 by Benjamin Hadorn (b_hadorn@bluewin.ch) 00003 ***************************************************************************** 00004 * Project : Zeus Base Library 00005 * Module : IXObjectCollection 00006 * Package : Zeus.ZeusBase.System.Interfaces 00007 * Author : Benjamin Hadorn 00008 * Date : 24.10.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:28 00031 CAUTION : Don't change the file manualy. Change xidl file instead. 00032 ***************************************************************************/ 00033 00034 #ifndef IXObjectCollectionHPP 00035 #define IXObjectCollectionHPP 00036 00037 #include <zeusbase/System/Interfaces/IZUnknown.hpp> 00038 00039 BEGIN_NAMESPACE_Zeus 00040 00041 //Forward declarations 00042 class IXObject; 00043 00044 // {F34EFE73-4FB4-45b6-B45F-431EAC6B2952} 00045 #define INTERFACE_IXObjectCollection TIID(0xF34EFE73, 0x4FB4, 0x45b6, 0xB4, 0x5F, 0x43, 0x1E, 0xAC, 0x6B, 0x29, 0x52) 00046 00047 /*****************************************************************************/ 00051 /*****************************************************************************/ 00052 class IXObjectCollection : public IZUnknown 00053 { 00054 HIDE_ASSIGNMENT_OPERATOR(IXObjectCollection) 00055 00056 public: 00057 /*************************************************************************/ 00061 /*************************************************************************/ 00062 virtual Int MQUALIFIER getCount() const = 0; 00063 00064 /*************************************************************************/ 00071 /*************************************************************************/ 00072 virtual Retval MQUALIFIER getObject(Int iIndex, IXObject*& rpObject) const = 0; 00073 00074 /*************************************************************************/ 00083 /*************************************************************************/ 00084 virtual Retval MQUALIFIER getCastedObject(Int iIndex, const InterfaceID& rInterfaceID, IZUnknown*& rpObject) const = 0; 00085 00086 /*************************************************************************/ 00093 /*************************************************************************/ 00094 virtual Retval MQUALIFIER getNextObject(IXObject*& rpObject) const = 0; 00095 00096 /*************************************************************************/ 00106 /*************************************************************************/ 00107 virtual Retval MQUALIFIER getNextCastedObject(const InterfaceID& rInterfaceID, IZUnknown*& rpObject) const = 0; 00108 00109 /*************************************************************************/ 00115 /*************************************************************************/ 00116 virtual Int MQUALIFIER getIndex(const IXObject& rXObject) const = 0; 00117 00118 /*************************************************************************/ 00121 /*************************************************************************/ 00122 virtual void MQUALIFIER reset() const = 0; 00123 00124 }; 00125 00126 END_NAMESPACE_Zeus 00127 00128 #endif //define IXObjectCollectionHPP