FDO API Reference Feature Data Objects

IGeometricAggregateAbstract.h

Go to the documentation of this file.
00001 #ifndef _IGEOMETRYAGGREGATEABSTRACT_H_
00002 #define _IGEOMETRYAGGREGATEABSTRACT_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 
00022 
00023 #ifdef _WIN32
00024 #pragma once
00025 #endif
00026 
00027 #include <Geometry/IGeometry.h>
00028 
00029 /// \brief
00030 /// The FdoIGeometricAggregateAbstract class is an aggregate Geometry (abstract) type.
00031 /// FdoIGeometricAggregateAbstract is a single Geometry that is a collection of other geometries.
00032 /// There is no requirement that the geometries interact spatially.
00033 /// Non-abstract derived types should have at least one accessor that returns objects of the appropriate contained type.
00034 class FdoIGeometricAggregateAbstract : public FdoIGeometry
00035 {
00036 public:
00037 
00038     /// \brief
00039     /// Gets the number of Geometries in this collection.  
00040     /// 
00041     /// \return
00042     /// Returns the number of Geometries
00043     /// 
00044     FDO_GEOM_API virtual FdoInt32 GetCount() const = 0;
00045 
00046 protected:
00047     
00048     /// \brief
00049     /// Default destructor.
00050     /// 
00051     /// \return
00052     /// Returns nothing
00053     /// 
00054     FDO_GEOM_API virtual ~FdoIGeometricAggregateAbstract() {};
00055 };
00056 #endif
00057 
00058 

Comments or suggestions? Send us feedback.