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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • plugins
  • render
  • opencaching
OpenCachingCacheLog.cpp
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2011 Daniel Marth <danielmarth@gmx.at>
9 //
10 
11 #include "OpenCachingCacheLog.h"
12 
13 namespace Marble
14 {
15 
16 OpenCachingCacheLog::OpenCachingCacheLog()
17 {
18 }
19 
20 OpenCachingCacheLogEntry& OpenCachingCacheLog::operator[]( int index )
21 {
22  return m_logEntries[index];
23 }
24 
25 void OpenCachingCacheLog::setCacheId( unsigned long long cacheId )
26 {
27  m_cacheId = cacheId;
28 }
29 
30 unsigned long long OpenCachingCacheLog::cacheId() const
31 {
32  return m_cacheId;
33 }
34 
35 void OpenCachingCacheLog::addLogEntry( const OpenCachingCacheLogEntry& logEntry )
36 {
37  m_logEntries.append( logEntry );
38 }
39 
40 void OpenCachingCacheLog::removeLogEntry( int index )
41 {
42  m_logEntries.removeAt( index );
43 }
44 
45 int OpenCachingCacheLog::size() const
46 {
47  return m_logEntries.size();
48 }
49 
50 void OpenCachingCacheLog::clear()
51 {
52  m_logEntries.clear();
53 }
54 
55 }
Marble::OpenCachingCacheLog::removeLogEntry
void removeLogEntry(int index)
Definition: OpenCachingCacheLog.cpp:40
Marble::OpenCachingCacheLog::setCacheId
void setCacheId(unsigned long long cacheId)
Definition: OpenCachingCacheLog.cpp:25
Marble::OpenCachingCacheLog::OpenCachingCacheLog
OpenCachingCacheLog()
Definition: OpenCachingCacheLog.cpp:16
Marble::OpenCachingCacheLog::operator[]
OpenCachingCacheLogEntry & operator[](int index)
Definition: OpenCachingCacheLog.cpp:20
Marble::OpenCachingCacheLog::size
int size() const
Definition: OpenCachingCacheLog.cpp:45
Marble::OpenCachingCacheLog::addLogEntry
void addLogEntry(const OpenCachingCacheLogEntry &logEntry)
Definition: OpenCachingCacheLog.cpp:35
Marble::OpenCachingCacheLogEntry
Single log entry for a cache.
Definition: OpenCachingCacheLogEntry.h:25
Marble::OpenCachingCacheLog::clear
void clear()
Definition: OpenCachingCacheLog.cpp:50
OpenCachingCacheLog.h
Marble::OpenCachingCacheLog::cacheId
unsigned long long cacheId() const
Definition: OpenCachingCacheLog.cpp:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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