Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALMetaIO 4.0.6.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LIGOLwXMLRead.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 Alexander Dietz, Duncan Brown, Jolien Creighton, Kipp Cannon, Lisa M. Goggin, Patrick Brady, Robert Adam Mercer, Stephen Fairhurst, Thomas Cokelaer
3*
4* This program is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation; either version 2 of the License, or
7* (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with with program; see the file COPYING. If not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17* MA 02110-1301 USA
18*/
19
20/*-----------------------------------------------------------------------
21 *
22 * File Name: LIGOLwXMLRead.h
23 *
24 * Author: Brown, D. A. and Fairhurst, S.
25 *
26 *-----------------------------------------------------------------------
27 */
28
29/**
30 * \author Brown, D. A. and Fairhurst, S.
31 * \file
32 * \ingroup lalmetaio_general
33 * \brief Provides functions for reading LIGO lightweight XML files to LIGO metadata database tables.
34 *
35 * ### Synopsis ###
36 *
37 * \code
38 * #include <lal/LIGOLwXMLRead.h>
39 * \endcode
40 *
41 */
42
43#ifndef _LIGOLWXMLREAD_H
44#define _LIGOLWXMLREAD_H
45
46#include <lal/LIGOMetadataTables.h>
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
52/* Forward declarations of MetaIO types. Note that metaio.h is not
53 * included by this header file, so the metaio API does not become part of
54 * the API exported by lalmetaio. The MetaioParseEnvironment structure is
55 * an opaque type, here, and is why the forward declaration is neeed. */
56struct MetaioParseEnvironment;
57
58int
60 struct MetaioParseEnvironment *env,
61 const char *name,
62 unsigned int type,
63 int required
64);
65
67 const struct MetaioParseEnvironment *env,
68 int column_number,
69 const char *ilwd_char_table_name,
70 const char *ilwd_char_column_name
71);
72
73int
75 const char *filename,
76 const char *table_name
77);
78
81 const char *filename
82);
83
86 const char *filename
87);
88
91 const char *filename
92);
93
96 const char *fileName
97);
98
101 const char *fileName
102);
103
106 const char *fileName
107);
108
111 const char *fileName
112);
113
115 const char *filename
116);
117
119 const char *filename
120);
121
124 const char *fileName
125);
126
127#ifdef __cplusplus
128}
129#endif
130
131#endif /* _LIGOLWXMLREAD_H */
ProcessParamsTable * XLALProcessParamsTableFromLIGOLw(const char *filename)
Read the process_params table from a LIGO Light Weight XML file into a linked list of ProcessParamsTa...
int XLALLIGOLwFindColumn(struct MetaioParseEnvironment *env, const char *name, unsigned int type, int required)
Convenience wrapper for MetaioFindColumn(), translating to XLAL-style error reporting and printing us...
ProcessTable * XLALProcessTableFromLIGOLw(const char *filename)
Read the process table from a LIGO Light Weight XML file into a linked list of ProcessTable structure...
Definition: processtable.c:345
long long XLALLIGOLwParseIlwdChar(const struct MetaioParseEnvironment *env, int column_number, const char *ilwd_char_table_name, const char *ilwd_char_column_name)
Convenience function to extract the integer part of an ilwd:char ID string with some error checking.
SnglInspiralTable * XLALSnglInspiralTableFromLIGOLw(const char *fileName)
Read the sngl_inspiral table from a LIGO Light Weight XML file into a linked list of SnglInspiralTabl...
Definition: sngl_inspiral.c:86
SnglBurst * XLALSnglBurstTableFromLIGOLw(const char *filename)
Read the sngl_burst table from a LIGO Light Weight XML file into a linked list of SnglBurst structure...
Definition: sngl_burst.c:92
SimRingdownTable * XLALSimRingdownTableFromLIGOLw(const char *fileName)
Read the sim_ringdown table from a LIGO Light Weight XML file into a linked list of SimRingdownTable ...
Definition: sim_ringdown.c:91
TimeSlide * XLALTimeSlideTableFromLIGOLw(const char *filename)
Read the time_slide table from a LIGO Light Weight XML file into a linked list of TimeSlide structure...
Definition: time_slide.c:129
SearchSummaryTable * XLALSearchSummaryTableFromLIGOLw(const char *fileName)
Read the search_summary table from a LIGO Light Weight XML file into a linked list of SearchSummaryTa...
int XLALLIGOLwHasTable(const char *filename, const char *table_name)
Test a LIGO Light Weight XML file for the presence of a specific table.
Definition: LIGOLwXMLRead.c:85
SimInspiralTable * XLALSimInspiralTableFromLIGOLw(const char *fileName)
Read the sim_inspiral table from a LIGO Light Weight XML file into a linked list of SimInspiralTable ...
Definition: sim_inspiral.c:115
SimBurst * XLALSimBurstTableFromLIGOLw(const char *filename)
Read the sim_burst table from a LIGO Light Weight XML file into a linked list of SimBurst structures.
Definition: sim_burst.c:95
SnglRingdownTable * XLALSnglRingdownTableFromLIGOLw(const char *fileName)
Read the sngl_ringdown table from a LIGO Light Weight XML file into a linked list of SnglRingdownTabl...
Definition: sngl_ringdown.c:91
The SimBurst structure describes a burst injection.
This structure contains the required information for generating a ringdown injection.
This structure contains the required information for generating a ringdown template and storing ringd...
This structure corresponds to one row of a time_slide table.