#include "cr-utils.h"
#include "cr-declaration.h"
#include "cr-string.h"
Go to the source code of this file.
Data Structures | |
struct | _CRPropList |
Typedefs | |
typedef typedefG_BEGIN_DECLS struct _CRPropList | CRPropList |
typedef _CRPropListPriv | CRPropListPriv |
Functions | |
CRPropList * | cr_prop_list_append (CRPropList *a_this, CRPropList *a_to_append) |
cr_prop_list_append: : the current instance of CRPropList : the property list to append | |
CRPropList * | cr_prop_list_append2 (CRPropList *a_this, CRString *a_prop, CRDeclaration *a_decl) |
cr_prop_list_append2: Appends a pair of prop/declaration to the current prop list. | |
CRPropList * | cr_prop_list_prepend (CRPropList *a_this, CRPropList *a_to_append) |
cr_prop_list_prepend: : the current instance of CRPropList : the new list to prepend. | |
CRPropList * | cr_prop_list_prepend2 (CRPropList *a_this, CRString *a_prop, CRDeclaration *a_decl) |
cr_prop_list_prepend2: : the current instance of CRPropList : property name to append : the property value to append. | |
enum CRStatus | cr_prop_list_set_prop (CRPropList *a_this, CRString *a_prop) |
cr_prop_list_set_prop: : the current instance of CRPropList : the property to set | |
enum CRStatus | cr_prop_list_get_prop (CRPropList *a_this, CRString **a_prop) |
cr_prop_list_get_prop: : the current instance of CRPropList : out parameter. | |
enum CRStatus | cr_prop_list_lookup_prop (CRPropList *a_this, CRString *a_prop, CRPropList **a_pair) |
cr_prop_list_lookup_prop: : the current instance of CRPropList : the property to lookup : out parameter. | |
CRPropList * | cr_prop_list_get_next (CRPropList *a_this) |
cr_prop_list_get_next: : the current instance of CRPropList | |
CRPropList * | cr_prop_list_get_prev (CRPropList *a_this) |
cr_prop_list_get_prev: : the current instance of CRPropList | |
enum CRStatus | cr_prop_list_set_decl (CRPropList *a_this, CRDeclaration *a_decl) |
cr_prop_list_set_decl: : the current instance of CRPropList : the new property value. | |
enum CRStatus | cr_prop_list_get_decl (CRPropList *a_this, CRDeclaration **a_decl) |
cr_prop_list_get_decl: : the current instance of CRPropList : out parameter. | |
CRPropList * | cr_prop_list_unlink (CRPropList *a_this, CRPropList *a_pair) |
cr_prop_list_unlink: : the current list of prop/decl pairs : the prop/decl pair to unlink. | |
void | cr_prop_list_destroy (CRPropList *a_this) |
cr_prop_list_detroy: : the current instance of CRPropList |
|
Definition at line 31 of file cr-prop-list.h. |
|
Definition at line 32 of file cr-prop-list.h. |
|
cr_prop_list_append: : the current instance of CRPropList : the property list to append Appends a property list to the current one. Returns the resulting prop list, or NULL if an error occured Definition at line 77 of file cr-prop-list.c. References PRIVATE. Referenced by cr_prop_list_append2(). |
|
cr_prop_list_append2: Appends a pair of prop/declaration to the current prop list. : the current instance of CRPropList : the property to consider : the declaration to consider Returns the resulting property list, or NULL in case of an error. Definition at line 107 of file cr-prop-list.c. References cr_prop_list_append(), and PRIVATE. |
|
cr_prop_list_detroy: : the current instance of CRPropList
Definition at line 377 of file cr-prop-list.c. References cr_prop_list_get_next(), and PRIVATE. Referenced by cr_sel_eng_get_matched_style(). |
|
cr_prop_list_get_decl: : the current instance of CRPropList : out parameter. The property value Returns CR_OK upon successful completion. Definition at line 241 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CR_OK, and PRIVATE. |
|
cr_prop_list_get_next: : the current instance of CRPropList Gets the next prop/decl pair in the list Returns the next prop/declaration pair of the list, or NULL if we reached end of list (or if an error occurs) Definition at line 305 of file cr-prop-list.c. References PRIVATE. Referenced by cr_prop_list_destroy(). |
|
cr_prop_list_get_prev: : the current instance of CRPropList Gets the previous prop/decl pair in the list Returns the previous prop/declaration pair of the list, or NULL if we reached end of list (or if an error occurs) Definition at line 322 of file cr-prop-list.c. References PRIVATE. |
|
cr_prop_list_get_prop: : the current instance of CRPropList : out parameter. The returned property Getter of the property associated to the current instance of CRPropList Returns CR_OK upon successful completion, an error code otherwise. Definition at line 209 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CR_OK, and PRIVATE. |
|
cr_prop_list_lookup_prop: : the current instance of CRPropList : the property to lookup : out parameter. The property/declaration pair found (if and only if the function returned code if CR_OK) Lookup a given property/declaration pair Returns CR_OK if a prop/decl pair has been found, CR_VALUE_NOT_FOUND_ERROR if not, or an error code if something bad happens. Definition at line 264 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CR_VALUE_NOT_FOUND_ERROR, and PRIVATE. |
|
cr_prop_list_prepend: : the current instance of CRPropList : the new list to prepend. Prepends a list to the current list Returns the new properties list. Definition at line 135 of file cr-prop-list.c. References PRIVATE. Referenced by cr_prop_list_prepend2(). |
|
cr_prop_list_prepend2: : the current instance of CRPropList : property name to append : the property value to append. Prepends a propertie to a list of properties Returns the new property list. Definition at line 163 of file cr-prop-list.c. References cr_prop_list_prepend(), and PRIVATE. |
|
cr_prop_list_set_decl: : the current instance of CRPropList : the new property value. Returns CR_OK upon successful completion, an error code otherwise. Definition at line 225 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CR_OK, and PRIVATE. |
|
cr_prop_list_set_prop: : the current instance of CRPropList : the property to set Sets the property of a CRPropList Definition at line 188 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CR_OK, and PRIVATE. |
|
cr_prop_list_unlink: : the current list of prop/decl pairs : the prop/decl pair to unlink. Unlinks a prop/decl pair from the list Returns the new list or NULL in case of an error. Definition at line 339 of file cr-prop-list.c. References PRIVATE. |