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
CatalogStandardSetMetadata.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
* CatalogStandardSetMetadata.h
20
*
21
*/
22
23
#ifndef SRC_CATALOG_CATALOGSTANDARDSETMETADATA_H_
24
#define SRC_CATALOG_CATALOGSTANDARDSETMETADATA_H_
25
26
#include <iostream>
27
#include <string>
28
29
using namespace
std;
30
31
class
CatalogStandardSetMetadata
{
32
public
:
33
CatalogStandardSetMetadata
();
34
35
CatalogStandardSetMetadata
(
string
pdbSetIdIn,
string
pdbSetKeyIn,
36
string
pdbSetNameIn,
string
pdbDatabaseIdIn,
37
string
pdbDatabaseNameIn,
string
pdbTypeIdIn,
38
string
pdbTypeNameIn);
39
40
CatalogStandardSetMetadata
(
const
CatalogStandardSetMetadata
&pdbSetToCopy);
41
42
void
setValues(
string
pdbSetIdIn,
string
pdbSetKeyIn,
string
pdbSetNameIn,
43
string
pdbDatabaseIdIn,
string
pdbDatabaseNameIn,
44
string
pdbTypeIdIn,
string
pdbTypeNameIn);
45
46
~
CatalogStandardSetMetadata
();
47
48
// The set ID is used as key for storing metadata
49
string
getItemKey();
50
51
string
getItemId();
52
53
string
getDBId();
54
55
string
getObjectTypeId();
56
57
string
getItemName();
58
59
string
getDBName();
60
61
string
getObjectTypeName();
62
63
void
setTypeName(
string
&typeNameIn);
64
65
void
setDBName(
string
&pdbDatabaseNameIn);
66
67
void
setDBId(
string
&dbIdIn);
68
69
void
setTypeId(
string
&typeIdIn);
70
71
void
setItemKey(
string
&itemKeyIn);
72
73
void
setItemId(
string
&itemIdIn);
74
75
void
setItemName(
string
&itemNameIn);
76
77
string
printShort();
78
79
friend
std::ostream &
operator<<
(std::ostream &out,
80
CatalogStandardSetMetadata
&catalogSet) {
81
out <<
"\nCatalogSet Metadata"
<< endl;
82
out <<
"-------------------"
<< endl;
83
out <<
" DB Id: "
<< catalogSet.
getDBId
() << endl;
84
out <<
" DB name: "
<< catalogSet.
getDBName
() << endl;
85
out <<
" Set Id: "
<< catalogSet.
getItemId
() << endl;
86
out <<
" Set Key: "
<< catalogSet.
getItemKey
() << endl;
87
out <<
" Set Name: "
<< catalogSet.
getItemName
() << endl;
88
out <<
" Type Id: "
<< catalogSet.
getObjectTypeId
() << endl;
89
out <<
" Type Name: "
<< catalogSet.
getObjectTypeName
() << endl;
90
out <<
"-------------------\n"
<< endl;
91
return
out;
92
}
93
94
private
:
95
string
pdbSetId
;
96
string
setKey
;
97
string
pdbSetName
;
98
99
string
pdbDatabaseId
;
100
string
pdbDatabaseName
;
101
102
string
typeId
;
103
string
typeName
;
104
};
105
106
#endif
/* SRC_CATALOG_CATALOGSTANDARDSETMETADATA_H_ */
CatalogStandardSetMetadata::getItemKey
string getItemKey()
Definition:
CatalogStandardSetMetadata.cc:65
CatalogStandardSetMetadata::getItemName
string getItemName()
Definition:
CatalogStandardSetMetadata.cc:73
CatalogStandardSetMetadata::typeId
string typeId
Definition:
CatalogStandardSetMetadata.h:102
CatalogStandardSetMetadata::typeName
string typeName
Definition:
CatalogStandardSetMetadata.h:103
CatalogStandardSetMetadata::operator<<
friend std::ostream & operator<<(std::ostream &out, CatalogStandardSetMetadata &catalogSet)
Definition:
CatalogStandardSetMetadata.h:79
CatalogStandardSetMetadata::pdbDatabaseId
string pdbDatabaseId
Definition:
CatalogStandardSetMetadata.h:99
CatalogStandardSetMetadata::getItemId
string getItemId()
Definition:
CatalogStandardSetMetadata.cc:67
CatalogStandardSetMetadata::pdbSetName
string pdbSetName
Definition:
CatalogStandardSetMetadata.h:97
CatalogStandardSetMetadata
Definition:
CatalogStandardSetMetadata.h:31
CatalogStandardSetMetadata::getObjectTypeName
string getObjectTypeName()
Definition:
CatalogStandardSetMetadata.cc:77
CatalogStandardSetMetadata::pdbDatabaseName
string pdbDatabaseName
Definition:
CatalogStandardSetMetadata.h:100
CatalogStandardSetMetadata::getDBId
string getDBId()
Definition:
CatalogStandardSetMetadata.cc:69
CatalogStandardSetMetadata::setKey
string setKey
Definition:
CatalogStandardSetMetadata.h:96
CatalogStandardSetMetadata::getObjectTypeId
string getObjectTypeId()
Definition:
CatalogStandardSetMetadata.cc:71
CatalogStandardSetMetadata::pdbSetId
string pdbSetId
Definition:
CatalogStandardSetMetadata.h:95
CatalogStandardSetMetadata::getDBName
string getDBName()
Definition:
CatalogStandardSetMetadata.cc:75
plinycompute
pdb
src
catalog
headers
CatalogStandardSetMetadata.h
Generated on Mon Jun 18 2018 18:10:35 by
1.8.6