Autodesk FDO Provider for Oracle .NET API Reference

Autodesk FDO Oracle Provider .NET API

.NET API Reference Autodesk FDO Provider for Oracle

mgOvUniqueKeyCollection.h

Go to the documentation of this file.
00001 /*
00002 * (C) Copyright 2005 by Autodesk, Inc. All Rights Reserved.
00003 *
00004 * By using this code, you are agreeing to the terms and conditions of
00005 * the License Agreement included in the documentation for this code.
00006 *
00007 * AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE
00008 * CORRECTNESS OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE
00009 * IT. AUTODESK PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY
00010 * DISCLAIMS ANY LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL
00011 * DAMAGES FOR ERRORS, OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 *
00013 * Use, duplication, or disclosure by the U.S. Government is subject
00014 * to restrictions set forth in FAR 52.227-19 (Commercial Computer
00015 * Software Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
00016 * (Rights in Technical Data and Computer Software), as applicable.
00017 *
00018 *
00019 */
00020 
00021 #pragma once
00022 
00023 class FdoOracleOvUniqueKeyCollection;
00024 
00025 BEGIN_NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE
00026 
00027 public __gc class OvUniqueKeyDefinition;
00028 
00029 /// <summary>
00030 ///     OvUniqueKeyCollection is a collection of name-value pairs.
00031 /// </summary>
00032 [System::Reflection::DefaultMemberAttribute("RealTypeItem")]
00033 public __sealed __gc class OvUniqueKeyCollection : public NAMESPACE_OSGEO_RUNTIME::Disposable, public System::Collections::IList
00034 {
00035 private:
00036     /// <summary>
00037     ///     nested class defined to provide Enumerator.
00038     /// </summary>
00039     __gc class Enumerator : public System::Collections::IEnumerator
00040     {
00041     private:
00042         OvUniqueKeyCollection* m_pCol;
00043         System::Int32 m_nIdx;
00044 
00045     public:
00046         Enumerator(OvUniqueKeyCollection* elements) : m_pCol(elements), m_nIdx(-1) 
00047         {
00048 
00049         }
00050 
00051         __property System::Object* get_Current();
00052 
00053         System::Boolean MoveNext();
00054 
00055         System::Void Reset();
00056     };
00057 
00058 public private:
00059     OvUniqueKeyCollection(System::IntPtr unmanaged, System::Boolean autoDelete);
00060 
00061     inline FdoOracleOvUniqueKeyCollection* GetImpObj();
00062 
00063 private:
00064     // System::Collections::ICollection interfaces
00065     System::Void System::Collections::ICollection::CopyTo(System::Array* array,System::Int32 index);
00066 
00067     __property System::Object* System::Collections::ICollection::get_SyncRoot();
00068 
00069     __property System::Boolean System::Collections::ICollection::get_IsSynchronized();
00070 
00071     //System::Collections::IList interfaces
00072     __property System::Boolean System::Collections::IList::get_IsFixedSize();
00073 
00074     __property System::Boolean System::Collections::IList::get_IsReadOnly();
00075 
00076     System::Int32 System::Collections::IList::Add(Object* value);
00077 
00078     System::Boolean System::Collections::IList::Contains(Object* value);
00079 
00080     System::Int32 System::Collections::IList::IndexOf(Object* value);
00081 
00082     System::Void System::Collections::IList::Insert(System::Int32 index, Object* value);
00083 
00084     System::Void System::Collections::IList::Remove(Object* value);
00085 
00086     __property Object* System::Collections::IList::get_Item(System::Int32 index);
00087 
00088     __property System::Void  System::Collections::IList::set_Item(System::Int32 index, Object* value);
00089 
00090 public:
00091     /// <summary>
00092     ///    Gets the count of items in collection.
00093     /// </summary>
00094     __property System::Int32 get_Count(System::Void);
00095 
00096     /// <summary>
00097     ///    Gets an enumerator that can iterate through a collection.
00098     /// </summary>
00099     __sealed System::Collections::IEnumerator* GetEnumerator(System::Void);
00100 
00101     /// <summary>
00102     ///     Removes the index-th OvUniqueKeyDefinition from this collection.
00103     /// </summary>
00104     /// <param name="index">
00105     ///     Input index of the element to remove.
00106     /// </param>
00107     System::Void RemoveAt(System::Int32 index);
00108 
00109     /// <summary>
00110     ///     Removes all elements from the collection.
00111     /// </summary>
00112     System::Void  Clear();
00113 
00114     /// <summary>
00115     ///     Adds a OvUniqueKeyDefinition object into the collection.
00116     /// </summary>
00117     /// <param name="value">
00118     ///     Input the OvUniqueKeyDefinition object to add.
00119     /// </param>
00120     /// <returns>
00121     ///     Returns the position into which the new element was inserted.
00122     /// </returns>
00123     System::Int32 Add(NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* value);
00124 
00125     /// <summary>
00126     ///     Determines the index of a specific OvUniqueKeyDefinition object.
00127     /// </summary>
00128     /// <param name="value">
00129     ///     Input the OvUniqueKeyDefinition object to locate in the collection.
00130     /// </param>
00131     /// <returns>
00132     ///     The index of value if found in the collection; otherwise, -1.
00133     /// </returns>
00134     System::Int32 IndexOf(NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* value);
00135 
00136     /// <summary>
00137     ///     Inserts a OvUniqueKeyDefinition object into the collection at the specified position.
00138     /// </summary>
00139     /// <param name="index">
00140     ///     Input the zero-based index at which value should be inserted. 
00141     /// </param>
00142     /// <param name="value">
00143     ///     Input the OvUniqueKeyDefinition object to insert.
00144     /// </param>
00145     System::Void Insert(System::Int32 index, NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* value);
00146 
00147     /// <summary>
00148     ///     Removes the first occurrence of a specific OvUniqueKeyDefinition object.
00149     /// </summary>
00150     /// <param name="value">
00151     ///     Input the OvUniqueKeyDefinition object to remove from the collection.
00152     /// </param>
00153     System::Void Remove(NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* value);
00154 
00155     /// <summary>
00156     ///     Determines whether the collection contains a specific OvUniqueKeyDefinition object.
00157     /// </summary>
00158     /// <param name="value">
00159     ///     Input The OvUniqueKeyDefinition object to search in the collection.
00160     /// </param>
00161     /// <returns>
00162     ///     Returns true if the value is found in the collection; otherwise, false.
00163     /// </returns>
00164     System::Boolean Contains(NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* value);
00165 
00166     /// <summary>
00167     ///     Copies the elements of the collection to an array.
00168     /// </summary>
00169     /// <param name="array">
00170     ///     Output the one-dimensional Array that is the destination of the elements copied from this collection. 
00171     /// </param>
00172     /// <param name="startAt">
00173     ///     Input an integer that represents the index in array at which copying begins. 
00174     /// </param>
00175     System::Void CopyTo(NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* array[],System::Int32 size);
00176 
00177     //this is a hedious workaround for a bug in VS2002. 
00178     /// <summary>
00179     ///     Gets or sets a OvUniqueKeyDefinition in the collection.
00180     /// </summary>
00181     /// <param name="index">
00182     ///     Input index of the OvUniqueKeyDefinition to retrieve or set (System::Int32). 
00183     /// </param>
00184     __property NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* get_RealTypeItem(System::Int32 index);
00185     __property NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* get_RealTypeItem(System::String* index);
00186 
00187     __property System::Void  set_RealTypeItem(System::Int32 index, NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* value);
00188 
00189     __property NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* get_Item(System::Int32 index);
00190 
00191     __property System::Void  set_Item(System::Int32 index, NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE::OvUniqueKeyDefinition* value);
00192 
00193 protected:
00194     System::Void ReleaseUnmanagedObject();
00195 };
00196 
00197 END_NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_ORACLE

Comments?