FDO API Reference Feature Data Objects

FeatureClassCollection.h

Go to the documentation of this file.
00001 #ifndef _FEATURECLASSCOLLECTION_H_
00002 #define _FEATURECLASSCOLLECTION_H_
00003 
00004 //
00005 // Copyright (C) 2004-2006  Autodesk, Inc.
00006 // 
00007 // This library is free software; you can redistribute it and/or
00008 // modify it under the terms of version 2.1 of the GNU Lesser
00009 // General Public License as published by the Free Software Foundation.
00010 // 
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 // 
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00019 //
00020 
00021 #ifdef _WIN32
00022 #pragma once
00023 #endif
00024 
00025 #include <Fdo/Schema/FeatureClass.h>
00026 #include <Fdo/Schema/SchemaCollection.h>
00027 
00028 /// \brief
00029 /// The FdoFeatureClassCollection class represents a collection of FdoFeatureClasse objects.
00030 class FdoFeatureClassCollection: public FdoSchemaCollection<FdoFeatureClass> 
00031 {
00032 protected:
00033 /// \cond DOXYGEN-IGNORE
00034     /// Constructs an instance of a FeatureClassCollection using the specified argument.
00035     FdoFeatureClassCollection(FdoSchemaElement* parent) : FdoSchemaCollection<FdoFeatureClass>(parent)
00036     {
00037     }
00038 
00039     virtual ~FdoFeatureClassCollection()
00040     {
00041     }
00042 
00043     virtual void Dispose()
00044     {
00045         delete this;
00046     }
00047 /// \endcond
00048 
00049 public:
00050     /// \brief
00051     /// Constructs an instance of an FdoFeatureClassCollection using the specified argument.
00052     /// 
00053     /// \param parent 
00054     /// Input parent
00055     /// 
00056     /// \return
00057     /// Returns FdoFeatureClassCollection
00058     /// 
00059     FDO_API static FdoFeatureClassCollection* Create(FdoSchemaElement* parent);
00060 };
00061 #endif
00062 
00063 

Comments or suggestions? Send us feedback.