#include <string.h>
#include "cr-prop-list.h"
Go to the source code of this file.
Data Structures | |
struct | _CRPropListPriv |
Defines | |
#define | PRIVATE(a_obj) (a_obj)->priv |
Functions | |
CRPropList * | cr_prop_list_append (CRPropList *a_this, CRPropList *a_to_append) |
Appends a property list to the current one. | |
CRPropList * | cr_prop_list_append2 (CRPropList *a_this, CRString *a_prop, CRDeclaration *a_decl) |
Appends a pair of prop/declaration to the current prop list. | |
CRPropList * | cr_prop_list_prepend (CRPropList *a_this, CRPropList *a_to_prepend) |
Prepends a list to the current list. | |
CRPropList * | cr_prop_list_prepend2 (CRPropList *a_this, CRString *a_prop, CRDeclaration *a_decl) |
Prepends a list to the current list. | |
enum CRStatus | cr_prop_list_set_prop (CRPropList *a_this, CRString *a_prop) |
Sets the property of a CRPropList. | |
enum CRStatus | cr_prop_list_get_prop (CRPropList *a_this, CRString **a_prop) |
Getter of the property associated to the current instance of CRPropList. | |
enum CRStatus | cr_prop_list_set_decl (CRPropList *a_this, CRDeclaration *a_decl) |
enum CRStatus | cr_prop_list_get_decl (CRPropList *a_this, CRDeclaration **a_decl) |
enum CRStatus | cr_prop_list_lookup_prop (CRPropList *a_this, CRString *a_prop, CRPropList **a_pair) |
Lookup a given property/declaration pair. | |
CRPropList * | cr_prop_list_get_next (CRPropList *a_this) |
Gets the next prop/decl pair in the list. | |
CRPropList * | cr_prop_list_get_prev (CRPropList *a_this) |
Gets the previous prop/decl pair in the list. | |
CRPropList * | cr_prop_list_unlink (CRPropList *a_this, CRPropList *a_pair) |
Unlinks a prop/decl pair from the list. | |
void | cr_prop_list_destroy (CRPropList *a_this) |
|
Definition at line 25 of file cr-prop-list.c. |
|
Appends a property list to the current one.
Definition at line 74 of file cr-prop-list.c. References CRPropList, and PRIVATE. Referenced by cr_prop_list_append2(). |
|
Appends a pair of prop/declaration to the current prop list.
Definition at line 103 of file cr-prop-list.c. References cr_prop_list_append(), CRDeclaration, CRPropList, CRString, and PRIVATE. |
|
Definition at line 336 of file cr-prop-list.c. References cr_prop_list_get_next(), CRPropList, and PRIVATE. Referenced by cr_sel_eng_get_matched_style(). |
|
Definition at line 212 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CRDeclaration, and PRIVATE. |
|
Gets the next prop/decl pair in the list.
Definition at line 272 of file cr-prop-list.c. References PRIVATE. Referenced by cr_prop_list_destroy(). |
|
Gets the previous prop/decl pair in the list.
Definition at line 288 of file cr-prop-list.c. References PRIVATE. |
|
Getter of the property associated to the current instance of CRPropList.
Definition at line 192 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CRString, and PRIVATE. |
|
Lookup a given property/declaration pair.
Definition at line 232 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CRPropList, CRString, PRIVATE, and _CRString::stryng. |
|
Prepends a list to the current list.
Definition at line 128 of file cr-prop-list.c. References CRPropList, and PRIVATE. Referenced by cr_prop_list_prepend2(). |
|
Prepends a list to the current list.
Definition at line 151 of file cr-prop-list.c. References cr_prop_list_prepend(), CRDeclaration, CRPropList, CRString, and PRIVATE. |
|
Definition at line 202 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CRDeclaration, and PRIVATE. |
|
Sets the property of a CRPropList.
Definition at line 174 of file cr-prop-list.c. References CR_BAD_PARAM_ERROR, CRString, and PRIVATE. |
|
Unlinks a prop/decl pair from the list.
Definition at line 302 of file cr-prop-list.c. References CRPropList, and PRIVATE. |