Warning, /education/marble/src/bindings/python/sip/GeoDataPlacemark.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 GeoDataPlacemark : Marble::GeoDataFeature 0022 { 0023 %TypeHeaderCode 0024 #include <GeoDataPlacemark.h> 0025 %End 0026 0027 public: 0028 GeoDataPlacemark (); 0029 GeoDataPlacemark (const Marble::GeoDataPlacemark& placemark); 0030 GeoDataPlacemark (const QString& name); 0031 bool operator == (const Marble::GeoDataPlacemark& other) const; 0032 Marble::GeoDataCoordinates coordinate (const QDateTime& dateTime = QDateTime(), bool* iconAtCoordinates = 0) const; 0033 Marble::GeoDataGeometry* geometry () const; 0034 //ig void coordinate (qreal& longitude, qreal& latitude, qreal& altitude) const; 0035 void setCoordinate (const Marble::GeoDataPoint& point); 0036 qreal area () const; 0037 void setArea (qreal area); 0038 qint64 population () const; 0039 void setPopulation (qint64 population); 0040 const QString countryCode () const; 0041 void setCountryCode (const QString& code); 0042 virtual void pack (QDataStream& stream) const; 0043 virtual void unpack (QDataStream& stream); 0044 0045 ~GeoDataPlacemark (); 0046 virtual QXmlStreamWriter& pack (QXmlStreamWriter& stream) const; 0047 virtual QXmlStreamWriter& operator << (QXmlStreamWriter& stream) const; 0048 void setGeometry (Marble::GeoDataGeometry* entry); 0049 const QString state () const; 0050 void setState (const QString& state); 0051 void setCoordinate (qreal longitude, qreal latitude, qreal altitude = 0, Marble::GeoDataCoordinates::Unit _unit = Marble::GeoDataCoordinates::Radian); 0052 void setCoordinate (const Marble::GeoDataCoordinates& coordinate); 0053 const Marble::GeoDataLookAt* lookAt () const; 0054 //ig Marble::GeoDataLookAt* lookAt (); 0055 }; 0056 // GeoDataPlacemark 0057 0058 }; 0059 // Marble 0060 0061