Prototypes | |
| TimeSlide * | XLALCreateTimeSlide (void) |
| Create a TimeSlide structure. More... | |
| TimeSlide * | XLALDestroyTimeSlide (TimeSlide *row) |
| Destroy a TimeSlide structure. More... | |
| void | XLALDestroyTimeSlideTable (TimeSlide *head) |
| Destroy a TimeSlide linked list. More... | |
| const TimeSlide * | XLALTimeSlideConstGetByIDAndInstrument (const TimeSlide *time_slide, long time_slide_id, const char *instrument) |
| Find and return the address of the first element in the linked list of TimeSlide objects whose time_slide_id and instrument name equal the values given. More... | |
| TimeSlide * | XLALTimeSlideGetByIDAndInstrument (TimeSlide *time_slide, long time_slide_id, const char *instrument) |
| Find and return the address of the first element in the linked list of TimeSlide objects whose time_slide_id and instrument name equal the values given. More... | |
| TimeSlide * | XLALTimeSlideTableFromLIGOLw (const char *filename) |
| Read the time_slide table from a LIGO Light Weight XML file into a linked list of TimeSlide structures. More... | |
| int | XLALWriteLIGOLwXMLTimeSlideTable (LIGOLwXMLStream *xml, const TimeSlide *time_slide) |
| Write a time_slide table to an XML file. More... | |
Go to the source code of this file.
| TimeSlide * XLALCreateTimeSlide | ( | void | ) |
Create a TimeSlide structure.
Definition at line 40 of file time_slide.c.
Destroy a TimeSlide structure.
Definition at line 62 of file time_slide.c.
| void XLALDestroyTimeSlideTable | ( | TimeSlide * | head | ) |
Destroy a TimeSlide linked list.
Definition at line 75 of file time_slide.c.
| const TimeSlide * XLALTimeSlideConstGetByIDAndInstrument | ( | const TimeSlide * | time_slide, |
| long | time_slide_id, | ||
| const char * | instrument | ||
| ) |
Find and return the address of the first element in the linked list of TimeSlide objects whose time_slide_id and instrument name equal the values given.
TimeSlide elements whose instrument pointer is NULL are skipped. Returns NULL if no matching row is found. This version is for a linked list of const pointers, and returns a const pointer. See also XLALTimeSlideGetByIDAndInstrument().
Definition at line 92 of file time_slide.c.
| TimeSlide * XLALTimeSlideGetByIDAndInstrument | ( | TimeSlide * | time_slide, |
| long | time_slide_id, | ||
| const char * | instrument | ||
| ) |
Find and return the address of the first element in the linked list of TimeSlide objects whose time_slide_id and instrument name equal the values given.
TimeSlide elements whose instrument pointer is NULL are skipped. Returns NULL if no matching row is found. This version is for a linked list of non-const pointers, and returns a non-const pointer. See also XLALTimeSlideConstGetByIDAndInstrument(). NOTE: neither version modifies the TimeSlide rows; the two versions are identical, they are provided to allow the const'ness to be passed through the function.
Definition at line 114 of file time_slide.c.
| TimeSlide * XLALTimeSlideTableFromLIGOLw | ( | const char * | filename | ) |
Read the time_slide table from a LIGO Light Weight XML file into a linked list of TimeSlide structures.
Definition at line 129 of file time_slide.c.
| int XLALWriteLIGOLwXMLTimeSlideTable | ( | LIGOLwXMLStream * | xml, |
| const TimeSlide * | time_slide | ||
| ) |
Write a time_slide table to an XML file.
Definition at line 222 of file time_slide.c.