LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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:46
Column-wise view into a sequence of records that have been allocated contiguously.
ExposureCatalogT< ExposureRecord const > ConstExposureCatalog
Definition: Exposure.h:416
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:142
A custom container class for records, based on std::vector.
Definition: Catalog.h:94
ColumnViewT< ExposureRecord > ExposureColumnView
Definition: Exposure.h:414
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
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:203
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:55
Record class used to store exposure metadata.
Definition: Exposure.h:67
Record class that contains measurements made on a single exposure.
Definition: Source.h:81
ExposureCatalogT< ExposureRecord > ExposureCatalog
Definition: Exposure.h:415
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:155
Base class for all tables.
Definition: BaseTable.h:44
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:27