Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
OpenKarto
source
OpenKarto
Dataset.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2011, SRI International (R)
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#pragma once
19
20
#ifndef __OpenKarto_Dataset_h__
21
#define __OpenKarto_Dataset_h__
22
23
#include <
OpenKarto/Referenced.h
>
24
#include <
OpenKarto/Objects.h
>
25
26
namespace
karto
27
{
28
30
31
35
36
struct
DatasetPrivate;
37
42
class
KARTO_DEPRECATED
KARTO_EXPORT
Dataset
:
public
Referenced
43
{
44
public
:
48
Dataset
();
49
50
protected
:
51
//@cond EXCLUDE
55
virtual
~
Dataset
();
56
//@endcond
57
58
public
:
63
void
Add(
Object
* pObject);
64
69
DatasetInfo* GetDatasetInfo();
70
74
void
Clear();
75
80
const
ObjectList
& GetObjects()
const
;
81
82
public
:
88
Object
* operator [] (
kt_int32u
index)
const
;
89
90
private
:
91
// restrict the following functions
92
Dataset
(
const
Dataset
&);
93
const
Dataset
& operator=(
const
Dataset
&);
94
95
private
:
96
DatasetPrivate
*
m_pDatasetPrivate
;
97
};
// class Dataset
98
102
typedef
SmartPointer<Dataset>
DatasetPtr
;
103
105
106
}
107
108
#endif // __OpenKarto_Dataset_h__
karto::DatasetPtr
SmartPointer< Dataset > DatasetPtr
Definition:
Dataset.h:102
karto::Referenced
Definition:
Referenced.h:42
karto::SmartPointer
Definition:
SmartPointer.h:39
KARTO_EXPORT
#define KARTO_EXPORT
Definition:
Macros.h:78
KARTO_DEPRECATED
#define KARTO_DEPRECATED
Definition:
Macros.h:39
karto::DatasetPrivate
Definition:
Dataset.cpp:28
karto::Dataset
Definition:
Dataset.h:42
kt_int32u
uint32_t kt_int32u
Definition:
Types.h:111
karto::List< ObjectPtr >
karto::Dataset::m_pDatasetPrivate
DatasetPrivate * m_pDatasetPrivate
Definition:
Dataset.h:96
karto::Object
Definition:
Object.h:54
Referenced.h
karto
Definition:
Any.cpp:20
Objects.h
nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Jun 6 2019 19:20:24