Alexandria
2.27.0
SDC-CH common library for the Euclid project
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SourceCatalog
src
lib
TableRowAttributeFromRow.cpp
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 TableRowAttributeFromRow.cpp
39
* @author nikoapos
40
*/
41
42
#include "
SourceCatalog/SourceAttributes/TableRowAttributeFromRow.h
"
43
#include "
AlexandriaKernel/memory_tools.h
"
44
#include "
SourceCatalog/SourceAttributes/TableRowAttribute.h
"
45
46
namespace
Euclid {
47
namespace
SourceCatalog {
48
49
std::unique_ptr<Attribute>
TableRowAttributeFromRow::createAttribute
(
const
Euclid::Table::Row
& row) {
50
return
make_unique<TableRowAttribute>(row);
51
}
52
53
}
// namespace SourceCatalog
54
}
// end of namespace Euclid
TableRowAttributeFromRow.h
Euclid::SourceCatalog::TableRowAttributeFromRow::createAttribute
std::unique_ptr< Attribute > createAttribute(const Euclid::Table::Row &row) override
Create a TableRowAttribute from the given row.
Definition:
TableRowAttributeFromRow.cpp:49
memory_tools.h
Euclid::Table::Row
Represents one row of a Table.
Definition:
Row.h:57
TableRowAttribute.h
std::unique_ptr
STL class.
Generated by
1.8.5