• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • GeoDataTimeSpan
Public Member Functions | List of all members
Marble::GeoDataTimeSpan Class Reference

#include <GeoDataTimeSpan.h>

Inheritance diagram for Marble::GeoDataTimeSpan:
Inheritance graph
[legend]

Public Member Functions

 GeoDataTimeSpan ()
 
 GeoDataTimeSpan (const GeoDataTimeSpan &other)
 
 ~GeoDataTimeSpan ()
 
const GeoDataTimeStamp & begin () const
 
GeoDataTimeStamp & begin ()
 
const GeoDataTimeStamp & end () const
 
GeoDataTimeStamp & end ()
 
bool isValid () const
 
virtual const char * nodeType () const
 
bool operator!= (const GeoDataTimeSpan &other) const
 
GeoDataTimeSpan & operator= (const GeoDataTimeSpan &other)
 
bool operator== (const GeoDataTimeSpan &other) const
 
virtual void pack (QDataStream &stream) const
 
void setBegin (const GeoDataTimeStamp &begin)
 
void setEnd (const GeoDataTimeStamp &end)
 
virtual void unpack (QDataStream &stream)
 
- Public Member Functions inherited from Marble::GeoDataTimePrimitive
 GeoDataTimePrimitive ()
 
 GeoDataTimePrimitive (const GeoDataTimePrimitive &other)
 
 ~GeoDataTimePrimitive ()
 
GeoDataTimePrimitive & operator= (const GeoDataTimePrimitive &other)
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject ()
 
 GeoDataObject (const GeoDataObject &)
 
virtual ~GeoDataObject ()
 
QString id () const
 
GeoDataObject & operator= (const GeoDataObject &)
 
virtual GeoDataObject * parent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (const QString &value)
 
virtual void setParent (GeoDataObject *parent)
 
void setTargetId (const QString &value)
 
QString targetId () const
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 
- Public Member Functions inherited from Marble::Serializable
virtual ~Serializable ()
 

Additional Inherited Members

- Protected Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
 

Detailed Description

Definition at line 28 of file GeoDataTimeSpan.h.

Constructor & Destructor Documentation

Marble::GeoDataTimeSpan::GeoDataTimeSpan ( )

Definition at line 27 of file GeoDataTimeSpan.cpp.

Marble::GeoDataTimeSpan::GeoDataTimeSpan ( const GeoDataTimeSpan &  other)

Definition at line 32 of file GeoDataTimeSpan.cpp.

Marble::GeoDataTimeSpan::~GeoDataTimeSpan ( )

Definition at line 37 of file GeoDataTimeSpan.cpp.

Member Function Documentation

const GeoDataTimeStamp & Marble::GeoDataTimeSpan::begin ( ) const

return the beginning instant of a timespan

Definition at line 71 of file GeoDataTimeSpan.cpp.

GeoDataTimeStamp & Marble::GeoDataTimeSpan::begin ( )

Definition at line 76 of file GeoDataTimeSpan.cpp.

const GeoDataTimeStamp & Marble::GeoDataTimeSpan::end ( ) const

return the ending instant of a timespan

Definition at line 47 of file GeoDataTimeSpan.cpp.

GeoDataTimeStamp & Marble::GeoDataTimeSpan::end ( )

Definition at line 52 of file GeoDataTimeSpan.cpp.

bool Marble::GeoDataTimeSpan::isValid ( ) const
Returns
True iff either of begin or end is valid, or if begin and end are both valid and begin is <= end

Definition at line 62 of file GeoDataTimeSpan.cpp.

const char * Marble::GeoDataTimeSpan::nodeType ( ) const
virtual

Provides type information for downcasting a GeoNode.

Reimplemented from Marble::GeoDataTimePrimitive.

Definition at line 42 of file GeoDataTimeSpan.cpp.

bool Marble::GeoDataTimeSpan::operator!= ( const GeoDataTimeSpan &  other) const

Definition at line 100 of file GeoDataTimeSpan.cpp.

GeoDataTimeSpan & Marble::GeoDataTimeSpan::operator= ( const GeoDataTimeSpan &  other)

assignment operator

Definition at line 86 of file GeoDataTimeSpan.cpp.

bool Marble::GeoDataTimeSpan::operator== ( const GeoDataTimeSpan &  other) const

equality operators

Definition at line 93 of file GeoDataTimeSpan.cpp.

void Marble::GeoDataTimeSpan::pack ( QDataStream &  stream) const
virtual

Serialize the timespan to a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataTimePrimitive.

Definition at line 105 of file GeoDataTimeSpan.cpp.

void Marble::GeoDataTimeSpan::setBegin ( const GeoDataTimeStamp &  begin)

Set the beginning instant of a timespan.

Parameters
beginthe beginning instant of a timespan

Definition at line 81 of file GeoDataTimeSpan.cpp.

void Marble::GeoDataTimeSpan::setEnd ( const GeoDataTimeStamp &  end)

Set the ending instant of a timespan.

Parameters
beginthe ending instant of a timespan

Definition at line 57 of file GeoDataTimeSpan.cpp.

void Marble::GeoDataTimeSpan::unpack ( QDataStream &  stream)
virtual

Unserialize the timespan from a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataTimePrimitive.

Definition at line 112 of file GeoDataTimeSpan.cpp.


The documentation for this class was generated from the following files:
  • GeoDataTimeSpan.h
  • GeoDataTimeSpan.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal