Alexandria
2.19
Please provide a description of the project.
SourceCatalog
SourceCatalog
SourceAttributes
TableRowAttribute.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012-2021 Euclid Science Ground Segment
3
*
4
* This library is free software; you can redistribute it and/or modify it under
5
* the terms of the GNU Lesser General Public License as published by the Free
6
* Software Foundation; either version 3.0 of the License, or (at your option)
7
* any later version.
8
*
9
* This library is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12
* details.
13
*
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this library; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
/*
20
* Copyright (C) 2012-2021 Euclid Science Ground Segment
21
*
22
* This library is free software; you can redistribute it and/or modify it under
23
* the terms of the GNU Lesser General Public License as published by the Free
24
* Software Foundation; either version 3.0 of the License, or (at your option)
25
* any later version.
26
*
27
* This library is distributed in the hope that it will be useful, but WITHOUT
28
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
29
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
30
* details.
31
*
32
* You should have received a copy of the GNU Lesser General Public License
33
* along with this library; if not, write to the Free Software Foundation, Inc.,
34
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35
*/
36
37
/*
38
* @file TableRowAttribute.h
39
* @author nikoapos
40
*/
41
42
#ifndef _SOURCECATALOG_SOURCEATTRIBUTES_TABLEROWATTRIBUTE_H
43
#define _SOURCECATALOG_SOURCEATTRIBUTES_TABLEROWATTRIBUTE_H
44
45
#include "
SourceCatalog/Attribute.h
"
46
#include "
Table/Row.h
"
47
48
namespace
Euclid
{
49
namespace
SourceCatalog {
50
57
class
TableRowAttribute
:
public
Attribute
{
58
59
public
:
61
explicit
TableRowAttribute
(
Table::Row
row);
62
64
virtual
~TableRowAttribute
() =
default
;
65
67
const
Table::Row
&
getRow
()
const
;
68
69
private
:
70
Table::Row
m_row
;
71
};
72
73
}
// namespace SourceCatalog
74
}
// end of namespace Euclid
75
76
#endif
/* _SOURCECATALOG_SOURCEATTRIBUTES_TABLEROWATTRIBUTE_H */
Euclid::SourceCatalog::TableRowAttribute::TableRowAttribute
TableRowAttribute(Table::Row row)
Constructs a new TableRowAttribute with the given row.
Definition:
TableRowAttribute.cpp:47
Euclid::SourceCatalog::TableRowAttribute::~TableRowAttribute
virtual ~TableRowAttribute()=default
Destructor.
Euclid::SourceCatalog::TableRowAttribute::getRow
const Table::Row & getRow() const
Returns the table row.
Definition:
TableRowAttribute.cpp:49
Row.h
Euclid::SourceCatalog::Attribute
Attribute interface extended by all source attributes.
Definition:
Attribute.h:41
Euclid::SourceCatalog::TableRowAttribute
Source attribute which can be used to retrieve the table row used to create the source.
Definition:
TableRowAttribute.h:57
Euclid::SourceCatalog::TableRowAttribute::m_row
Table::Row m_row
Definition:
TableRowAttribute.h:70
Euclid::Table::Row
Represents one row of a Table.
Definition:
Row.h:64
Euclid
Definition:
InstOrRefHolder.h:29
Attribute.h
Generated by
1.8.20