BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
external
ExternalDataset.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_EXTERNAL_DATASET_H__
18
#define __BUSBOY_EXTERNAL_DATASET_H__
19
20
#include "
ExternalDataFile.h
"
21
22
namespace
BUSBOY {
23
24
25
class
ExternalDatasetImpl;
26
27
class
ExternalDataset
{
28
29
public
:
30
31
ExternalDataset
();
32
33
void
init
(
const
char
* name);
34
35
void
init
(
const
char
* name,
const
CExternalDatasetCallbacks
& callbacks);
36
37
const
char
*
getName
()
const
;
38
39
const
char
*
getSerializedDataset
()
const
;
40
41
void
setSerializedDataset
(
const
char
* serializedDataset);
42
43
void
addDataFile
(
ExternalDataFile
* file);
44
45
ExternalDataFile
*
getDataFile
(
int
index)
const
;
46
47
size_t
getFileCount
()
const
;
48
49
const
CExternalDatasetCallbacks
&
getCallbacks
()
const
;
50
51
bool
hasDataFile
(
const
char
* serializedKey)
const
;
52
53
~ExternalDataset
();
54
55
private
:
56
57
ExternalDatasetImpl
* m_impl;
58
59
// prevent calling these
60
ExternalDataset
(
const
ExternalDataset
& file);
61
ExternalDataset
& operator=(
const
ExternalDataset
& file);
62
63
};
64
65
}
66
#endif
67
68
69
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.