FDO API Reference Feature Data Objects

IMultiLineString.h

Go to the documentation of this file.
00001 #ifndef _IMULTILINESTRING_H_
00002 #define _IMULTILINESTRING_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/IGeometricAggregateAbstract.h>
00028 #include <Geometry/ILineString.h>
00029 
00030 /// \brief
00031 /// The FdoIMultiLineString class is a multi-LineString collection geometry type.
00032 /// The curves contained here do not have to
00033 /// be contiguous, nor spatially interact in any other way.
00034 class FdoIMultiLineString : public FdoIGeometricAggregateAbstract
00035 {
00036 public:
00037 
00038     /// \brief
00039     /// Gets a LineString at the given zero-based index.
00040     /// 
00041     /// \param index 
00042     /// Input Zero-based index in the object's list of line strings.
00043     /// 
00044     /// \return
00045     /// Returns a CurveString
00046     /// 
00047     FDO_GEOM_API virtual FdoILineString* GetItem(
00048         FdoInt32 index) const = 0;
00049 
00050 protected:
00051 
00052     /// \brief
00053     /// Constructs a default instance.
00054     /// 
00055     /// \return
00056     /// Returns nothing
00057     /// 
00058     FDO_GEOM_API FdoIMultiLineString() {};
00059 
00060     /// \brief
00061     /// Default destructor.
00062     /// 
00063     /// \return
00064     /// Returns nothing
00065     /// 
00066     FDO_GEOM_API virtual ~FdoIMultiLineString() {};
00067 };
00068 #endif
00069 
00070 

Comments or suggestions? Send us feedback.