LSSTApplications  11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
LSSTDataManagementBasePackage
fwd.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
2 /*
3  * LSST Data Management System
4  * Copyright 2008-2013 LSST Corporation.
5  *
6  * This product includes software developed by the
7  * LSST Project (http://www.lsst.org/).
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the LSST License Statement and
20  * the GNU General Public License along with this program. If not,
21  * see <http://www.lsstcorp.org/LegalNotices/>.
22  */
23 
24 #ifndef LSST_AFW_TABLE_fwd_h_INCLUDED
25 #define LSST_AFW_TABLE_fwd_h_INCLUDED
26 
38 #include <vector>
39 
40 #include "lsst/afw/table/misc.h"
41 
42 namespace lsst { namespace afw { namespace table {
43 
44 template <typename T> class Key;
45 template <typename T> struct Field;
46 template <typename T> struct SchemaItem;
47 class Schema;
48 class SchemaMapper;
49 
50 template <typename T> class OutputFunctorKey;
51 template <typename T> class InputFunctorKey;
52 
53 template <typename T> class ColumnViewT;
54 template <typename RecordT> class CatalogT;
55 template <typename RecordT> class SortedCatalogT;
56 template <typename RecordT> class SourceColumnViewT;
57 template <typename RecordT> class ExposureCatalogT;
58 
59 class BaseRecord;
60 class BaseTable;
64 
65 class IdFactory;
66 class SimpleRecord;
71 
72 class SourceRecord;
77 
78 class ExposureRecord;
79 class ExposureTable;
83 
84 class AmpInfoRecord;
89 
90 template <typename Record1, typename Record2> struct Match;
91 
95 
96 typedef std::vector<SimpleMatch> SimpleMatchVector;
97 typedef std::vector<ReferenceMatch> ReferenceMatchVector;
98 typedef std::vector<SourceMatch> SourceMatchVector;
99 
100 namespace io {
101 
102 class Writer;
103 class Reader;
104 class FitsWriter;
105 class FitsReader;
106 class Persistable;
107 class InputArchive;
108 class OutputArchive;
109 class CatalogVector;
110 
111 } // namespace io
112 
113 }}} // namespace lsst::afw::table
114 
115 #endif // !LSST_AFW_TABLE_fwd_h_INCLUDED
Defines the fields and offsets for a table.
Definition: Schema.h:44
Base class for objects that can extract a value from a record, but are not a true Key themselves...
Definition: FunctorKey.h:38
Column-wise view into a sequence of records that have been allocated contiguously.
ExposureCatalogT< ExposureRecord const > ConstExposureCatalog
Definition: Exposure.h:421
Geometry and electronic information about raw amplifier images.
Definition: AmpInfo.h:77
CatalogT< BaseRecord > BaseCatalog
Definition: fwd.h:61
Table class used to store exposure metadata.
Definition: Exposure.h:147
A custom container class for records, based on std::vector.
Definition: Catalog.h:95
ColumnViewT< ExposureRecord > ExposureColumnView
Definition: Exposure.h:419
CatalogT< AmpInfoRecord const > ConstAmpInfoCatalog
Definition: fwd.h:88
SortedCatalogT< SimpleRecord const > ConstSimpleCatalog
Definition: fwd.h:70
A mapping between the keys of two Schemas, used to copy data between them.
Definition: SchemaMapper.h:19
SortedCatalogT< SourceRecord const > ConstSourceCatalog
Definition: fwd.h:76
Match< SimpleRecord, SimpleRecord > SimpleMatch
Definition: fwd.h:90
ColumnViewT< AmpInfoRecord > AmpInfoColumnView
Definition: fwd.h:85
std::vector< ReferenceMatch > ReferenceMatchVector
Definition: fwd.h:97
CatalogT< AmpInfoRecord > AmpInfoCatalog
Definition: fwd.h:87
Table class that must contain a unique ID field and a celestial coordinate field. ...
Definition: Simple.h:85
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID.
Definition: fwd.h:55
SortedCatalogT< SimpleRecord > SimpleCatalog
Definition: fwd.h:69
Lightweight representation of a geometric match between two records.
Definition: fwd.h:90
std::vector< SimpleMatch > SimpleMatchVector
Definition: fwd.h:96
Match< SimpleRecord, SourceRecord > ReferenceMatch
Definition: fwd.h:93
A description of a field in a table.
Definition: Field.h:22
SourceColumnViewT< SourceRecord > SourceColumnView
Definition: fwd.h:73
Base class for objects that can set a value on a record, but are not a true Key themselves.
Definition: FunctorKey.h:54
A polymorphic functor base class for generating record IDs for a table.
Definition: IdFactory.h:19
Table class that contains measurements made on a single exposure.
Definition: Source.h:202
Base class for all records.
Definition: BaseRecord.h:27
A class used as a handle to a particular field in a table.
Definition: fwd.h:44
Custom catalog class for ExposureRecord/Table.
Definition: Exposure.h:56
Record class used to store exposure metadata.
Definition: Exposure.h:68
Record class that contains measurements made on a single exposure.
Definition: Source.h:80
ExposureCatalogT< ExposureRecord > ExposureCatalog
Definition: Exposure.h:420
Record class that must contain a unique ID field and a celestial coordinate field.
Definition: Simple.h:46
ColumnViewT< SimpleRecord > SimpleColumnView
Definition: fwd.h:67
Match< SourceRecord, SourceRecord > SourceMatch
Definition: fwd.h:94
Table of amplifier information (AmpInfoRecord records)
Definition: AmpInfo.h:162
Base class for all tables.
Definition: BaseTable.h:43
CatalogT< BaseRecord const > ConstBaseCatalog
Definition: fwd.h:63
std::vector< SourceMatch > SourceMatchVector
Definition: fwd.h:98
SortedCatalogT< SourceRecord > SourceCatalog
Definition: fwd.h:75
A simple pair-like struct for mapping a Field (name and description) with a Key (used for actual data...
Definition: SchemaImpl.h:25