Warning, /education/marble/src/bindings/python/sip/GeoDataContainer.sip is written in an unsupported language. File is not indexed.

0001 //
0002 // Copyright 2008 Simon Edwards <simon@simonzone.com>
0003 // 
0004 // This library is free software; you can redistribute it and/or
0005 // modify it under the terms of the GNU Lesser General Public
0006 // License as published by the Free Software Foundation; either 
0007 // version 2.1 of the License, or (at your option) any later version.
0008 // 
0009 // This library is distributed in the hope that it will be useful,
0010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012 // Lesser General Public License for more details.
0013 // 
0014 // You should have received a copy of the GNU Lesser General Public 
0015 // License along with this library.  If not, see <http://www.gnu.org/licenses/>.
0016 //
0017 
0018 namespace Marble
0019 {
0020 
0021 class GeoDataContainer : Marble::GeoDataFeature
0022 {
0023 %TypeHeaderCode
0024 #include <GeoDataContainer.h>
0025 %End
0026 
0027 
0028 public:
0029                             GeoDataContainer ();
0030                             GeoDataContainer (const Marble::GeoDataContainer& other);
0031 //ig    Marble::GeoDataContainerPrivate*  p () const;
0032     int                     size () const;
0033 //ig    Marble::GeoDataFeature&  at (int pos);
0034     const Marble::GeoDataFeature&  at (int pos) const;
0035 //ig    Marble::GeoDataFeature&  last ();
0036     const Marble::GeoDataFeature&  last () const;
0037 //ig    Marble::GeoDataFeature&  first ();
0038     const Marble::GeoDataFeature&  first () const;
0039 //ig    QVector<Marble::GeoDataFeature>::Iterator  begin ();
0040 //ig    QVector<Marble::GeoDataFeature>::Iterator  end ();
0041 //ig    QVector<Marble::GeoDataFeature>::ConstIterator  constBegin () const;
0042 //ig    QVector<Marble::GeoDataFeature>::ConstIterator  constEnd () const;
0043     void                    clear ();
0044     virtual void            pack (QDataStream& stream) const;
0045     virtual void            unpack (QDataStream& stream);
0046 
0047 
0048     virtual ~GeoDataContainer ();
0049 private:
0050 //ig                            GeoDataContainer (GeoDataContainerPrivate* priv);
0051 public:
0052 //ig    QVector<Marble::GeoDataFolder*>  folderList () const;
0053 //ig    QVector<Marble::GeoDataFeature*>  featureList () const;
0054 //ig    QVector<Marble::GeoDataPlacemark*>  placemarkList () const;
0055     Marble::GeoDataFeature*  child (int);
0056     void                    append (Marble::GeoDataFeature* other);
0057     void                    remove (int index);
0058     Marble::GeoDataLatLonAltBox  latLonAltBox () const;
0059 //ig    const Marble::GeoDataFeature*  child (int) const;
0060     int                     childPosition (const Marble::GeoDataFeature* child) const;
0061     void                    insert (Marble::GeoDataFeature* other, int index);
0062 };
0063 // GeoDataContainer
0064 
0065 };
0066 // Marble
0067 
0068