A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
BackendTestSetScan.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* *
3
* Copyright 2018 Rice University *
4
* *
5
* Licensed under the Apache License, Version 2.0 (the "License"); *
6
* you may not use this file except in compliance with the License. *
7
* You may obtain a copy of the License at *
8
* *
9
* http://www.apache.org/licenses/LICENSE-2.0 *
10
* *
11
* Unless required by applicable law or agreed to in writing, software *
12
* distributed under the License is distributed on an "AS IS" BASIS, *
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
14
* See the License for the specific language governing permissions and *
15
* limitations under the License. *
16
* *
17
*****************************************************************************/
18
19
#ifndef BACKEND_TEST_SET_SCAN_H
20
#define BACKEND_TEST_SET_SCAN_H
21
22
#include "
Object.h
"
23
#include "
Handle.h
"
24
#include "
PDBString.h
"
25
#include "
DataTypes.h
"
26
27
// PRELOAD %BackendTestSetScan%
28
29
namespace
pdb {
30
31
// encapsulates a request to scan a set stored in the database
32
class
BackendTestSetScan
:
public
Object
{
33
34
public
:
35
BackendTestSetScan
(
DatabaseID
dbIdIn,
UserTypeID
typeIdIn,
SetID
setIdIn) {
36
dbId
= dbIdIn;
37
typeId
= typeIdIn;
38
setId
= setIdIn;
39
}
40
41
BackendTestSetScan
() {}
42
~BackendTestSetScan
() {}
43
44
DatabaseID
getDatabaseID
() {
45
return
dbId
;
46
}
47
48
UserTypeID
getUserTypeID
() {
49
return
typeId
;
50
}
51
52
SetID
getSetID
() {
53
return
setId
;
54
}
55
56
ENABLE_DEEP_COPY
57
58
private
:
59
// this is the database that we are computing over
60
DatabaseID
dbId
;
61
62
// this is the type that we are computing over
63
UserTypeID
typeId
;
64
65
// and the set
66
SetID
setId
;
67
};
68
}
69
70
#endif
ENABLE_DEEP_COPY
#define ENABLE_DEEP_COPY
Definition:
DeepCopy.h:52
SetID
unsigned int SetID
Definition:
DataTypes.h:31
pdb::Object
Definition:
Object.h:42
pdb::BackendTestSetScan::getDatabaseID
DatabaseID getDatabaseID()
Definition:
BackendTestSetScan.h:44
PDBString.h
pdb::BackendTestSetScan::dbId
DatabaseID dbId
Definition:
BackendTestSetScan.h:60
Handle.h
pdb::BackendTestSetScan::BackendTestSetScan
BackendTestSetScan()
Definition:
BackendTestSetScan.h:41
pdb::BackendTestSetScan::typeId
UserTypeID typeId
Definition:
BackendTestSetScan.h:63
DataTypes.h
DatabaseID
unsigned int DatabaseID
Definition:
DataTypes.h:29
pdb::BackendTestSetScan
Definition:
BackendTestSetScan.h:32
pdb::BackendTestSetScan::BackendTestSetScan
BackendTestSetScan(DatabaseID dbIdIn, UserTypeID typeIdIn, SetID setIdIn)
Definition:
BackendTestSetScan.h:35
pdb::BackendTestSetScan::getSetID
SetID getSetID()
Definition:
BackendTestSetScan.h:52
pdb::BackendTestSetScan::~BackendTestSetScan
~BackendTestSetScan()
Definition:
BackendTestSetScan.h:42
Object.h
pdb::BackendTestSetScan::setId
SetID setId
Definition:
BackendTestSetScan.h:66
pdb::BackendTestSetScan::getUserTypeID
UserTypeID getUserTypeID()
Definition:
BackendTestSetScan.h:48
UserTypeID
unsigned int UserTypeID
Definition:
DataTypes.h:25
plinycompute
pdb
src
builtInPDBObjects
headers
BackendTestSetScan.h
Generated on Mon Jun 18 2018 18:10:35 by
1.8.6