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
ExternalAlgorithmData.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_EXTERNAL_ALGORITHM_DATA_H__
18
#define __BUSBOY_EXTERNAL_ALGORITHM_DATA_H__
19
20
#include "
ExternalDataset.h
"
21
22
namespace
BUSBOY {
23
24
25
class
ExternalAlgorithmDataImpl;
26
27
class
ExternalAlgorithmData
{
28
29
public
:
30
31
ExternalAlgorithmData
();
32
33
void
setSerializedKeyspace
(
const
char
* keyspace);
34
35
bool
hasKeyspace
()
const
;
36
37
const
char
*
getSerializedKeyspace
()
const
;
38
39
void
setSerializedConfig
(
const
char
* config);
40
41
bool
hasConfig
()
const
;
42
43
const
char
*
getSerializedConfig
()
const
;
44
45
void
addInputDataset
(
ExternalDataset
* dataset);
46
47
ExternalDataset
*
getInputDataset
(
int
index)
const
;
48
49
size_t
getInputDatasetCount
()
const
;
50
51
bool
hasInputDataset
(
const
char
* name);
52
53
void
addOutputDataset
(
ExternalDataset
* dataset);
54
55
ExternalDataset
*
getOutputDataset
(
int
index)
const
;
56
57
size_t
getOutputDatasetCount
()
const
;
58
59
bool
hasOutputDataset
(
const
char
* name);
60
61
~ExternalAlgorithmData
();
62
63
private
:
64
65
ExternalAlgorithmDataImpl
* m_impl;
66
67
// prevent calling these
68
ExternalAlgorithmData
(
const
ExternalAlgorithmData
& file);
69
ExternalAlgorithmData
& operator=(
const
ExternalAlgorithmData
& file);
70
71
};
72
73
}
74
#endif
75
76
77
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.