Data Structures | |
| struct | _uves_propertylist_ |
| struct | _uves_regexp_ |
Typedefs | |
| typedef _uves_regexp_ | uves_regexp |
| typedef _uves_propertylist_ | uves_propertylist |
| The opaque property list data type. | |
Enumerations | |
| enum | { FITS_STDKEY_MAX = 8, FITS_SVALUE_MAX = 68 } |
Functions | |
| static void | propertylist_append_property (uves_propertylist *plist, const cpl_property *p) |
| static void | propertylist_prepend_property_cpl (cpl_propertylist *plist, const cpl_property *p) |
| static cpl_propertylist * | uves_propertylist_to_cpl (const uves_propertylist *self) |
| static void | uves_propertylist_from_cpl (uves_propertylist *self, const cpl_propertylist *list_cpl) |
| cpl_error_code | uves_vector_save (const cpl_vector *v, const char *f, cpl_type_bpp bpp, const uves_propertylist *header, unsigned mode) |
| cpl_error_code | uves_image_save (const cpl_image *image, const char *f, cpl_type_bpp bpp, const uves_propertylist *header, unsigned mode) |
| cpl_error_code | uves_imagelist_save (const cpl_imagelist *imagelist, const char *f, cpl_type_bpp bpp, const uves_propertylist *header, unsigned mode) |
| cpl_error_code | uves_table_save (const cpl_table *table, const uves_propertylist *header, const uves_propertylist *ext_header, const char *filename, unsigned mode) |
| cpl_error_code | uves_dfs_setup_product_header (uves_propertylist *header, const cpl_frame *product_frame, const cpl_frameset *framelist, const cpl_parameterlist *parlist, const char *recid, const char *pipeline_id, const char *dictionary_id) |
| cpl_error_code | uves_table_sort (cpl_table *t, const uves_propertylist *list) |
| static void | error_push (void) |
| static void | error_pop (void) |
| static cxint | _uves_propertylist_filter_regexp (cxcptr key, cxcptr filter) |
| static cxbool | _uves_propertylist_compare (const cpl_property *property, const char *name) |
| static cxbool | _uves_propertylist_compare_start (const cpl_property *property, const char *part_name) |
| static cxbool | _uves_propertylist_compare_regexp (const cpl_property *property, uves_regexp *re) |
| static uves_deque_iterator | _uves_propertylist_find (const uves_propertylist *self, const char *name) |
| static cpl_property * | _uves_propertylist_get (const uves_propertylist *self, const char *name) |
| static int | _uves_propertylist_insert (uves_propertylist *self, const cxchar *where, cxbool after, const cxchar *name, cpl_type type, cxptr value) |
| static cxint | _uves_propertylist_decode_fits (const qfits_header *header, cxint i, cxchar *key, cxint *type, cxchar *value, cxchar *comment) |
| static cxint | _uves_propertylist_from_fits (uves_propertylist *self, const qfits_header *header, cx_compare_func filter, cxcptr data) |
| uves_propertylist * | uves_propertylist_new (void) |
| Create an empty property list. | |
| uves_propertylist * | uves_propertylist_duplicate (const uves_propertylist *self) |
| Create a copy of the given property list. | |
| void | uves_propertylist_delete (const uves_propertylist *self) |
| Destroy a property list. | |
| long | uves_propertylist_get_size (const uves_propertylist *self) |
| Get the current size of a property list. | |
| int | uves_propertylist_is_empty (const uves_propertylist *self) |
| Check whether a property list is empty. | |
| cpl_type | uves_propertylist_get_type (const uves_propertylist *self, const char *name) |
| Get the the type of a property list entry. | |
| int | uves_propertylist_contains (const uves_propertylist *self, const char *name) |
| Check whether a property is present in a property list. | |
| cpl_error_code | uves_propertylist_set_comment (uves_propertylist *self, const char *name, const char *comment) |
| Modify the comment field of the given property list entry. | |
| cpl_error_code | uves_propertylist_set_char (uves_propertylist *self, const char *name, char value) |
| Set the value of the given character property list entry. | |
| cpl_error_code | uves_propertylist_set_bool (uves_propertylist *self, const char *name, int value) |
| Set the value of the given boolean property list entry. | |
| cpl_error_code | uves_propertylist_set_int (uves_propertylist *self, const char *name, int value) |
| Set the value of the given integer property list entry. | |
| cpl_error_code | uves_propertylist_set_long (uves_propertylist *self, const char *name, long value) |
| Set the value of the given long property list entry. | |
| cpl_error_code | uves_propertylist_set_float (uves_propertylist *self, const char *name, float value) |
| Set the value of the given float property list entry. | |
| cpl_error_code | uves_propertylist_set_double (uves_propertylist *self, const char *name, double value) |
| Set the value of the given double property list entry. | |
| cpl_error_code | uves_propertylist_set_string (uves_propertylist *self, const char *name, const char *value) |
| Set the value of the given string property list entry. | |
| const cpl_property * | uves_propertylist_get_const (const uves_propertylist *self, long position) |
| Access property list elements by index. | |
| cpl_property * | uves_propertylist_get (uves_propertylist *self, long position) |
| const char * | uves_propertylist_get_comment (const uves_propertylist *self, const char *name) |
| Get the comment of the given property list entry. | |
| char | uves_propertylist_get_char (const uves_propertylist *self, const char *name) |
| Get the character value of the given property list entry. | |
| int | uves_propertylist_get_bool (const uves_propertylist *self, const char *name) |
| Get the boolean value of the given property list entry. | |
| int | uves_propertylist_get_int (const uves_propertylist *self, const char *name) |
| Get the integer value of the given property list entry. | |
| long | uves_propertylist_get_long (const uves_propertylist *self, const char *name) |
| Get the long value of the given property list entry. | |
| float | uves_propertylist_get_float (const uves_propertylist *self, const char *name) |
| Get the float value of the given property list entry. | |
| double | uves_propertylist_get_double (const uves_propertylist *self, const char *name) |
| Get the double value of the given property list entry. | |
| const char * | uves_propertylist_get_string (const uves_propertylist *self, const char *name) |
| Get the string value of the given property list entry. | |
| cpl_error_code | uves_propertylist_insert_char (uves_propertylist *self, const char *here, const char *name, char value) |
| Insert a character value into a property list at the given position. | |
| cpl_error_code | uves_propertylist_insert_bool (uves_propertylist *self, const char *here, const char *name, int value) |
| Insert a boolean value into a property list at the given position. | |
| cpl_error_code | uves_propertylist_insert_int (uves_propertylist *self, const char *here, const char *name, int value) |
| Insert a integer value into a property list at the given position. | |
| cpl_error_code | uves_propertylist_insert_long (uves_propertylist *self, const char *here, const char *name, long value) |
| Insert a long value into a property list at the given position. | |
| cpl_error_code | uves_propertylist_insert_float (uves_propertylist *self, const char *here, const char *name, float value) |
| Insert a float value into a property list at the given position. | |
| cpl_error_code | uves_propertylist_insert_double (uves_propertylist *self, const char *here, const char *name, double value) |
| Insert a double value into a property list at the given position. | |
| cpl_error_code | uves_propertylist_insert_string (uves_propertylist *self, const char *here, const char *name, const char *value) |
| Insert a string value into a property list at the given position. | |
| cpl_error_code | uves_propertylist_insert_after_char (uves_propertylist *self, const char *after, const char *name, char value) |
| Insert a character value into a property list after the given position. | |
| cpl_error_code | uves_propertylist_insert_after_bool (uves_propertylist *self, const char *after, const char *name, int value) |
| Insert a boolean value into a property list after the given position. | |
| cpl_error_code | uves_propertylist_insert_after_int (uves_propertylist *self, const char *after, const char *name, int value) |
| Insert a integer value into a property list after the given position. | |
| cpl_error_code | uves_propertylist_insert_after_long (uves_propertylist *self, const char *after, const char *name, long value) |
| Insert a long value into a property list after the given position. | |
| cpl_error_code | uves_propertylist_insert_after_float (uves_propertylist *self, const char *after, const char *name, float value) |
| Insert a float value into a property list after the given position. | |
| cpl_error_code | uves_propertylist_insert_after_double (uves_propertylist *self, const char *after, const char *name, double value) |
| Insert a double value into a property list after the given position. | |
| cpl_error_code | uves_propertylist_insert_after_string (uves_propertylist *self, const char *after, const char *name, const char *value) |
| Insert a string value into a property list after the given position. | |
| cpl_error_code | uves_propertylist_prepend_char (uves_propertylist *self, const char *name, char value) |
| Prepend a character value to a property list. | |
| cpl_error_code | uves_propertylist_prepend_bool (uves_propertylist *self, const char *name, int value) |
| Prepend a boolean value to a property list. | |
| cpl_error_code | uves_propertylist_prepend_int (uves_propertylist *self, const char *name, int value) |
| Prepend a integer value to a property list. | |
| cpl_error_code | uves_propertylist_prepend_long (uves_propertylist *self, const char *name, long value) |
| Prepend a long value to a property list. | |
| cpl_error_code | uves_propertylist_prepend_float (uves_propertylist *self, const char *name, float value) |
| Prepend a float value to a property list. | |
| cpl_error_code | uves_propertylist_prepend_double (uves_propertylist *self, const char *name, double value) |
| Prepend a double value to a property list. | |
| cpl_error_code | uves_propertylist_prepend_string (uves_propertylist *self, const char *name, const char *value) |
| Prepend a string value to a property list. | |
| cpl_error_code | uves_propertylist_append_char (uves_propertylist *self, const char *name, char value) |
| cpl_error_code | uves_propertylist_append_bool (uves_propertylist *self, const char *name, int value) |
| cpl_error_code | uves_propertylist_append_int (uves_propertylist *self, const char *name, int value) |
| cpl_error_code | uves_propertylist_append_long (uves_propertylist *self, const char *name, long value) |
| cpl_error_code | uves_propertylist_append_float (uves_propertylist *self, const char *name, float value) |
| cpl_error_code | uves_propertylist_append_double (uves_propertylist *self, const char *name, double value) |
| cpl_error_code | uves_propertylist_append_string (uves_propertylist *self, const char *name, const char *value) |
| cpl_error_code | uves_propertylist_append_c_char (uves_propertylist *self, const char *name, char value, const char *comment) |
| Append a character value to a property list. | |
| cpl_error_code | uves_propertylist_append_c_bool (uves_propertylist *self, const char *name, int value, const char *comment) |
| Append a boolean value to a property list. | |
| cpl_error_code | uves_propertylist_append_c_int (uves_propertylist *self, const char *name, int value, const char *comment) |
| Append an integer value to a property list. | |
| cpl_error_code | uves_propertylist_append_c_long (uves_propertylist *self, const char *name, long value, const char *comment) |
| Append a long value to a property list. | |
| cpl_error_code | uves_propertylist_append_c_float (uves_propertylist *self, const char *name, float value, const char *comment) |
| Append a float value to a property list. | |
| cpl_error_code | uves_propertylist_append_c_double (uves_propertylist *self, const char *name, double value, const char *comment) |
| Append a double value to a property list. | |
| cpl_error_code | uves_propertylist_append_c_string (uves_propertylist *self, const char *name, const char *value, const char *comment) |
| Append a string value to a property list. | |
| cpl_error_code | uves_propertylist_append (uves_propertylist *self, const uves_propertylist *other) |
| Append a property list.. | |
| int | uves_propertylist_erase (uves_propertylist *self, const char *name) |
| Erase the given property from a property list. | |
| int | uves_propertylist_erase_regexp (uves_propertylist *self, const char *regexp, int invert) |
| Erase all properties with name matching a given regular expression. | |
| void | uves_propertylist_empty (uves_propertylist *self) |
| Remove all properties from a property list. | |
| cpl_error_code | uves_propertylist_update_char (uves_propertylist *self, const char *name, char value) |
| Update a property list with a character value. | |
| cpl_error_code | uves_propertylist_update_bool (uves_propertylist *self, const char *name, int value) |
| Update a property list with a boolean value. | |
| cpl_error_code | uves_propertylist_update_int (uves_propertylist *self, const char *name, int value) |
| Update a property list with a integer value. | |
| cpl_error_code | uves_propertylist_update_long (uves_propertylist *self, const char *name, long value) |
| Update a property list with a long value. | |
| cpl_error_code | uves_propertylist_update_float (uves_propertylist *self, const char *name, float value) |
| Update a property list with a float value. | |
| cpl_error_code | uves_propertylist_update_double (uves_propertylist *self, const char *name, double value) |
| Update a property list with a double value. | |
| cpl_error_code | uves_propertylist_update_string (uves_propertylist *self, const char *name, const char *value) |
| Update a property list with a string value. | |
| cpl_error_code | uves_propertylist_copy_property (uves_propertylist *self, const uves_propertylist *other, const char *name) |
| Copy a property from another property list. | |
| cpl_error_code | uves_propertylist_copy_property_regexp (uves_propertylist *self, const uves_propertylist *other, const char *regexp, int invert) |
| Copy matching properties from another property list. | |
| uves_propertylist * | uves_propertylist_load (const char *name, int position) |
| Create a property list from a file. | |
| uves_propertylist * | uves_propertylist_load_regexp (const char *name, int position, const char *regexp, int invert) |
| Create a filtered property list from a file. | |
| qfits_header * | uves_propertylist_to_fits (const uves_propertylist *self) |
| uves_propertylist * | uves_propertylist_from_fits (const qfits_header *header) |
Variables | |
| static cpl_error_code | push_pop_error |
This was a necessary change in order for property lists to be usable with MIDAS generated FLAMES calibration data (a simple loop is now O(n), not O(n^2), for FLAMES data we have n ~= 10^5)
This module still uses the cpl_property module
|
|
Create an empty property list.
Definition at line 755 of file uves_propertylist.c. Referenced by convert_midas_array(), create_order_table(), parse_midas_poly(), test_bad_corr(), test_load_linetable(), test_save_frame(), uves_create_image(), uves_find_property_test(), uves_initialize_image_header(), uves_physmod_calmap(), uves_physmod_regress_echelle(), uves_propertylist_duplicate(), uves_propertylist_from_fits(), uves_propertylist_load(), and uves_propertylist_load_regexp(). |
|
|
Create a copy of the given property list.
The function creates a deep copy of the given property list self, i.e the created copy and the original property list do not share any resources. Definition at line 792 of file uves_propertylist.c. References _uves_propertylist_::properties, and uves_propertylist_new(). Referenced by extract_ff_rebin_merge(). |
|
|
Destroy a property list.
Definition at line 841 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_from_fits(), uves_propertylist_load(), and uves_propertylist_load_regexp(). |
|
|
Get the current size of a property list.
The function reports the current number of elements stored in the property list self. Definition at line 881 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by parse_history(), propertylist_append_property(), test_bad_corr(), uves_find_property_const(), uves_pfits_set_history_val(), uves_polynomial_convert_from_plist_midas(), uves_print_uves_propertylist(), and uves_propertylist_to_cpl(). |
|
|
Check whether a property list is empty.
The function checks if self contains any properties. Definition at line 923 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_print_uves_propertylist(), and uves_propertylist_from_cpl(). |
|
||||||||||||
|
Get the the type of a property list entry.
The function returns the type of the value stored in self with the name name. Definition at line 974 of file uves_propertylist.c. References _uves_propertylist_get(). Referenced by uves_pfits_get_ordpred(). |
|
||||||||||||
|
Check whether a property is present in a property list.
The function searches the property list self for a property with the name name and reports whether it was found or not. Definition at line 1028 of file uves_propertylist.c. References _uves_propertylist_get(). Referenced by uves_flames_pfits_get_plateid(), uves_pfits_get_datancom(), uves_pfits_get_offset(), uves_pfits_get_ordpred(), uves_pfits_put_qc(), uves_qclog_init(), and uves_save_paf(). |
|
||||||||||||||||
|
Modify the comment field of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its comment is replaced by the string comment. The provided comment string may be Definition at line 1082 of file uves_propertylist.c. References _uves_propertylist_get(). Referenced by uves_pfits_put_qc(), uves_pfits_set_data_average(), uves_pfits_set_data_max(), uves_pfits_set_data_median(), uves_pfits_set_data_min(), uves_pfits_set_data_stddev(), uves_pfits_set_exptime(), and uves_pfits_set_ordpred(). |
|
||||||||||||||||
|
Set the value of the given character property list entry.
The function searches the property list self for a property named name. If it is present in the list, its character value is replaced with the character value. Definition at line 1147 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||||||
|
Set the value of the given boolean property list entry.
The function searches the property list self for a property named name. If it is present in the list, its boolean value is replaced with the boolean value. Definition at line 1210 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||||||
|
Set the value of the given integer property list entry.
The function searches the property list self for a property named name. If it is present in the list, its integer value is replaced with the integer value. Definition at line 1272 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||||||
|
Set the value of the given long property list entry.
The function searches the property list self for a property named name. If it is present in the list, its long value is replaced with the long value. Definition at line 1334 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||||||
|
Set the value of the given float property list entry.
The function searches the property list self for a property named name. If it is present in the list, its float value is replaced with the float value. Definition at line 1397 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||||||
|
Set the value of the given double property list entry.
The function searches the property list self for a property named name. If it is present in the list, its double value is replaced with the double value. Definition at line 1460 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||||||
|
Set the value of the given string property list entry.
The function searches the property list self for a property named name. If it is present in the list, its string value is replaced with the string value. Definition at line 1523 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||
|
Access property list elements by index.
The function returns a handle for the property list element, the property, with the index position. Numbering of property list elements extends from 0 to uves_propertylist_get_size() - 1. If position is less than 0 or greater equal than uves_propertylist_get_size() the function returns Definition at line 1579 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by parse_history(), uves_find_property_const(), uves_polynomial_convert_from_plist_midas(), uves_print_uves_propertylist(), uves_propertylist_get(), and uves_propertylist_to_cpl(). |
|
||||||||||||
|
Get the comment of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its comment string is returned. If an entry with the name name is not found, or if the entry has no comment the function returns Definition at line 1658 of file uves_propertylist.c. References _uves_propertylist_get(). |
|
||||||||||||
|
Get the character value of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its character value is returned. Definition at line 1725 of file uves_propertylist.c. References _uves_propertylist_get(), error_pop(), and error_push(). Referenced by uves_pfits_get_chipchoice(). |
|
||||||||||||
|
Get the boolean value of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its boolean value is returned. Definition at line 1814 of file uves_propertylist.c. References _uves_propertylist_get(), error_pop(), and error_push(). |
|
||||||||||||
|
Get the integer value of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its integer value is returned. Definition at line 1901 of file uves_propertylist.c. References _uves_propertylist_get(), error_pop(), and error_push(). Referenced by uves_pfits_get_slit3_x1encoder(), and uves_pfits_get_slit3_x2encoder(). |
|
||||||||||||
|
Get the long value of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its long value is returned. Definition at line 1988 of file uves_propertylist.c. References _uves_propertylist_get(), error_pop(), and error_push(). |
|
||||||||||||
|
Get the float value of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its float value is returned. Definition at line 2075 of file uves_propertylist.c. References _uves_propertylist_get(), error_pop(), and error_push(). |
|
||||||||||||
|
Get the double value of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, its double value is returned. Definition at line 2162 of file uves_propertylist.c. References _uves_propertylist_get(), error_pop(), and error_push(). |
|
||||||||||||
|
Get the string value of the given property list entry.
The function searches the property list self for a property named name. If it is present in the list, a handle to its string value is returned. Definition at line 2251 of file uves_propertylist.c. References _uves_propertylist_get(), error_pop(), and error_push(). Referenced by uves_flames_pfits_get_ident(), uves_flames_pfits_get_object(), and uves_save_paf(). |
|
||||||||||||||||||||
|
Insert a character value into a property list at the given position.
The function creates a new character property with name name and value value. The property is inserted into the property list self at the position of the property named here. Definition at line 2334 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a boolean value into a property list at the given position.
The function creates a new boolean property with name name and value value. The property is inserted into the property list self at the position of the property named here. Definition at line 2399 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a integer value into a property list at the given position.
The function creates a new integer property with name name and value value. The property is inserted into the property list self at the position of the property named here. Definition at line 2464 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a long value into a property list at the given position.
The function creates a new long property with name name and value value. The property is inserted into the property list self at the position of the property named here. Definition at line 2529 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a float value into a property list at the given position.
The function creates a new float property with name name and value value. The property is inserted into the property list self at the position of the property named here. Definition at line 2594 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a double value into a property list at the given position.
The function creates a new double property with name name and value value. The property is inserted into the property list self at the position of the property named here. Definition at line 2659 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a string value into a property list at the given position.
The function creates a new string property with name name and value value. The property is inserted into the property list self at the position of the property named here. Definition at line 2724 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a character value into a property list after the given position.
The function creates a new character property with name name and value value. The property is inserted into the property list self after the property named after. Definition at line 2789 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a boolean value into a property list after the given position.
The function creates a new boolean property with name name and value value. The property is inserted into the property list self after the property named after. Definition at line 2854 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a integer value into a property list after the given position.
The function creates a new integer property with name name and value value. The property is inserted into the property list self after the property named after. Definition at line 2919 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a long value into a property list after the given position.
The function creates a new long property with name name and value value. The property is inserted into the property list self after the property named after. Definition at line 2984 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a float value into a property list after the given position.
The function creates a new float property with name name and value value. The property is inserted into the property list self after the property named after. Definition at line 3049 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a double value into a property list after the given position.
The function creates a new double property with name name and value value. The property is inserted into the property list self after the property named after. Definition at line 3114 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||||||
|
Insert a string value into a property list after the given position.
The function creates a new string property with name name and value value. The property is inserted into the property list self after the property named after. Definition at line 3180 of file uves_propertylist.c. References _uves_propertylist_insert(). |
|
||||||||||||||||
|
Prepend a character value to a property list.
The function creates a new character property with name name and value value. The property is prepended to the property list self. Definition at line 3237 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||||||
|
Prepend a boolean value to a property list.
The function creates a new boolean property with name name and value value. The property is prepended to the property list self. Definition at line 3291 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||||||
|
Prepend a integer value to a property list.
The function creates a new integer property with name name and value value. The property is prepended to the property list self. Definition at line 3345 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||||||
|
Prepend a long value to a property list.
The function creates a new long property with name name and value value. The property is prepended to the property list self. Definition at line 3399 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||||||
|
Prepend a float value to a property list.
The function creates a new float property with name name and value value. The property is prepended to the property list self. Definition at line 3453 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||||||
|
Prepend a double value to a property list.
The function creates a new double property with name name and value value. The property is prepended to the property list self. Definition at line 3507 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||||||
|
Prepend a string value to a property list.
The function creates a new string property with name name and value value. The property is prepended to the property list self. Definition at line 3561 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||||||||||
|
Append a character value to a property list.
The function creates a new character property with name name and value value. The property is appended to the property list self. Definition at line 3681 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_append_char(). |
|
||||||||||||||||||||
|
Append a boolean value to a property list.
The function creates a new boolean property with name name and value value. The property is appended to the property list self. Definition at line 3737 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_append_bool(). |
|
||||||||||||||||||||
|
Append an integer value to a property list.
The function creates a new integer property with name name and value value. The property is appended to the property list self. Definition at line 3793 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_append_int(). |
|
||||||||||||||||||||
|
Append a long value to a property list.
The function creates a new long property with name name and value value. The property is appended to the property list self. Definition at line 3849 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_append_long(). |
|
||||||||||||||||||||
|
Append a float value to a property list.
The function creates a new float property with name name and value value. The property is appended to the property list self. Definition at line 3905 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_append_float(). |
|
||||||||||||||||||||
|
Append a double value to a property list.
The function creates a new double property with name name and value value. The property is appended to the property list self. Definition at line 3961 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_append_double(). |
|
||||||||||||||||||||
|
Append a string value to a property list.
The function creates a new string property with name name and value value. The property is appended to the property list self. Definition at line 4017 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by uves_propertylist_append_string(). |
|
||||||||||||
|
Append a property list..
The function appends the property list other to the property list self. Definition at line 4071 of file uves_propertylist.c. References _uves_propertylist_::properties. |
|
||||||||||||
|
Erase the given property from a property list.
The function searches the property with the name name in the property list self and removes it. The property is destroyed. If self contains multiple duplicates of a property named name, only the first one is erased. Definition at line 4133 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. |
|
||||||||||||||||
|
Erase all properties with name matching a given regular expression.
The function searches for all the properties matching in the list self and removes them. Whether a property matches or not depends on the given regular expression regexp, and the flag invert. If invert is The function expects POSIX 1003.2 compliant extended regular expressions. Definition at line 4194 of file uves_propertylist.c. References _uves_propertylist_compare_regexp(), _uves_regexp_::invert, _uves_propertylist_::properties, and _uves_regexp_::re. |
|
|
Remove all properties from a property list.
The function removes all properties from self. Each property is properly deallocated. After calling this function self is empty. Definition at line 4276 of file uves_propertylist.c. References _uves_propertylist_::properties. Referenced by test_bad_corr(), and uves_dfs_setup_product_header(). |
|
||||||||||||||||
|
Update a property list with a character value.
The function updates the property list self with the character value value. This means, if a property with the name name exists already its value is updated, otherwise a property with the name name is created and added to self. The update will fail if a property with the name name exists already which is not of type Definition at line 4347 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. |
|
||||||||||||||||
|
Update a property list with a boolean value.
The function updates the property list self with the boolean value value. This means, if a property with the name name exists already its value is updated, otherwise a property with the name name is created and added to self. The update will fail if a property with the name name exists already which is not of type Definition at line 4433 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. |
|
||||||||||||||||
|
Update a property list with a integer value.
The function updates the property list self with the integer value value. This means, if a property with the name name exists already its value is updated, otherwise a property with the name name is created and added to self. The update will fail if a property with the name name exists already which is not of type Definition at line 4519 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. Referenced by uves_flames_pfits_set_newplateid(), uves_pfits_set_hs(), uves_pfits_set_ocs_simcal(), and uves_pfits_set_ordpred(). |
|
||||||||||||||||
|
Update a property list with a long value.
The function updates the property list self with the long value value. This means, if a property with the name name exists already its value is updated, otherwise a property with the name name is created and added to self. The update will fail if a property with the name name exists already which is not of type Definition at line 4605 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. |
|
||||||||||||||||
|
Update a property list with a float value.
The function updates the property list self with the float value value. This means, if a property with the name name exists already its value is updated, otherwise a property with the name name is created and added to self. The update will fail if a property with the name name exists already which is not of type Definition at line 4691 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. |
|
||||||||||||||||
|
Update a property list with a double value.
The function updates the property list self with the double value value. This means, if a property with the name name exists already its value is updated, otherwise a property with the name name is created and added to self. The update will fail if a property with the name name exists already which is not of type Definition at line 4777 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. Referenced by uves_flames_pfits_set_ccfposmax(), uves_pfits_set_cdelt1(), uves_pfits_set_cdelt2(), uves_pfits_set_crpix1(), uves_pfits_set_crpix2(), uves_pfits_set_crval1(), uves_pfits_set_crval2(), uves_pfits_set_data_average(), uves_pfits_set_data_max(), uves_pfits_set_data_median(), uves_pfits_set_data_min(), uves_pfits_set_data_stddev(), uves_pfits_set_dec(), uves_pfits_set_exptime(), uves_pfits_set_ra(), uves_pfits_set_wend(), and uves_pfits_set_wstart(). |
|
||||||||||||||||
|
Update a property list with a string value.
The function updates the property list self with the string value value. This means, if a property with the name name exists already its value is updated, otherwise a property with the name name is created and added to self. The update will fail if a property with the name name exists already which is not of type Definition at line 4863 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. Referenced by uves_pfits_set_badpixcorr(), uves_pfits_set_bunit(), uves_pfits_set_ctype1(), uves_pfits_set_ctype2(), uves_pfits_set_object(), uves_pfits_set_redlevel(), uves_pfits_set_starttime(), uves_pfits_set_status(), and uves_pfits_set_stoptime(). |
|
||||||||||||||||
|
Copy a property from another property list.
The function copies the property name from the property list other to the property list self. If the property list self does not already contain a property name the property is appended to self. If a property name exists already in self the function overwrites the contents of this property if and only if this property is of the same type as the property to be copied from other. Definition at line 4958 of file uves_propertylist.c. References _uves_propertylist_find(), and _uves_propertylist_::properties. |
|
||||||||||||||||||||
|
Copy matching properties from another property list.
The function copies all properties with matching names from the property list other to the property list self. If the flag invert is zero, all properties whose names match the regular expression regexp are copied. If invert is set to a non-zero value, all properties with names not matching regexp are copied rather. The function expects POSIX 1003.2 compliant extended regular expressions. If the property list self does not already contain one of the properties to be copied this property is appended to self. If a property to be copied exists already in self the function overwrites the contents of this property. Before properties are copied from the property list other to self the types of the properties are checked and if any type mismatch is detected the function stops processing immediately. The property list self is not at all modified in this case.
Definition at line 5107 of file uves_propertylist.c. References _uves_propertylist_compare_regexp(), _uves_propertylist_find(), _uves_regexp_::invert, _uves_propertylist_::properties, and _uves_regexp_::re. |
|
||||||||||||
|
Create a property list from a file.
The function reads the properties of the data set with index position from the file name. Currently only the FITS file format is supported. The property list is created by reading the FITS keywords from extension position. The numbering of the data sections starts from 0. When creating the property list from a FITS header, any keyword without a value like undefined keywords for instance are not transformed into a property.
Definition at line 5335 of file uves_propertylist.c. References _uves_propertylist_from_fits(), uves_propertylist_delete(), and uves_propertylist_new(). Referenced by uves_mflat_at_ypos(). |
|
||||||||||||||||||||
|
Create a filtered property list from a file.
The function reads all properties of the data set with index position with matching names from the file name. If the flag invert is zero, all properties whose names match the regular expression regexp are read. If invert is set to a non-zero value, all properties with names not matching regexp are read rather. The function expects POSIX 1003.2 compliant extended regular expressions. Currently only the FITS file format is supported. The property list is created by reading the FITS keywords from extension position. The numbering of the data sections starts from 0.
When creating the property list from a FITS header, any keyword without a value like undefined keywords for instance are not transformed into a property. FITS format specific keyword prefixes (e.g.
Definition at line 5482 of file uves_propertylist.c. References _uves_propertylist_filter_regexp(), _uves_propertylist_from_fits(), _uves_regexp_::invert, _uves_regexp_::re, uves_propertylist_delete(), and uves_propertylist_new(). |
1.4.6