00001 /*
00002 * Copyright (C) 2004-2006 Autodesk, Inc.
00003 *
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of version 2.1 of the GNU Lesser
00006 * General Public License as published by the Free Software Foundation.
00007 *
00008 * This library is distributed in the hope that it will be useful,
00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00011 * Lesser General Public License for more details.
00012 *
00013 * You should have received a copy of the GNU Lesser General Public
00014 * License along with this library; if not, write to the Free Software
00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00016 *
00017 */
00018 #ifndef FdoWmsOvLayerCollection_H
00019 #define FdoWmsOvLayerCollection_H
00020
00021 #ifdef _WIN32
00022 #pragma once
00023 #endif //_WIN32
00024
00025 #include <WMS/FdoWmsOvProvider.h>
00026 #include <WMS/Override/FdoWmsOvLayerDefinition.h>
00027
00028 /// \brief
00029 ///
00030 /// The FdoWmsOvLayerCollection holds a list of WMS Layer definitions.
00031 class FdoWmsOvLayerCollection : public FdoPhysicalElementMappingCollection<FdoWmsOvLayerDefinition>
00032 {
00033 public:
00034 /// \brief
00035 /// Constructs a new empty Layer Definition collection.
00036 ///
00037 /// \param parent
00038 /// Input parent object
00039 ///
00040 /// \return
00041 /// Returns the newly created FdoWmsOvLayerCollection instance.
00042 ///
00043 FDOWMS_API static FdoWmsOvLayerCollection* Create(FdoPhysicalElementMapping *parent);
00044
00045 /// \cond DOXYGEN-IGNORE
00046
00047 protected:
00048 FDOWMS_API FdoWmsOvLayerCollection(void);
00049 FDOWMS_API FdoWmsOvLayerCollection(FdoPhysicalElementMapping *parent);
00050 FDOWMS_API virtual ~FdoWmsOvLayerCollection(void);
00051 void Dispose();
00052
00053 /// \endcond
00054
00055 };
00056
00057 /// \brief
00058 /// FdoWmsLayeresP is a GisPtr on FdoWmsOvLayerCollection, provided for convenience.
00059 typedef FdoPtr<FdoWmsOvLayerCollection> FdoWmsOvLayersP;
00060
00061 #endif // FdoWmsOvLayerCollection_H
00062
00063