Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
cr-simple-sel.h File Reference

the declaration of the CRSimpleSel class. More...

Go to the source code of this file.

Classes

struct  _CRSimpleSel
 The abstraction of a css2 simple selection list as defined by the right part of the "selector" production in the appendix D.1 of the css2 spec. More...
 

Typedefs

typedef struct _CRSimpleSel CRSimpleSel
 

Enumerations

enum  Combinator {
  NO_COMBINATOR , COMB_WS , COMB_PLUS , COMB_TILDE ,
  COMB_GT
}
 
enum  SimpleSelectorType { NO_SELECTOR_TYPE = 0 , UNIVERSAL_SELECTOR = 1 , TYPE_SELECTOR = 1 << 1 }
 

Functions

CRSimpleSelcr_simple_sel_new (void)
 
CRSimpleSelcr_simple_sel_append_simple_sel (CRSimpleSel *a_this, CRSimpleSel *a_sel)
 
CRSimpleSelcr_simple_sel_prepend_simple_sel (CRSimpleSel *a_this, CRSimpleSel *a_sel)
 
guchar * cr_simple_sel_to_string (CRSimpleSel const *a_this)
 
guchar * cr_simple_sel_one_to_string (CRSimpleSel const *a_this)
 
enum CRStatus cr_simple_sel_dump (CRSimpleSel const *a_this, FILE *a_fp)
 
enum CRStatus cr_simple_sel_dump_attr_sel_list (CRSimpleSel const *a_this)
 
enum CRStatus cr_simple_sel_compute_specificity (CRSimpleSel *a_this)
 
void cr_simple_sel_destroy (CRSimpleSel *a_this)
 

Detailed Description

the declaration of the CRSimpleSel class.

Definition in file cr-simple-sel.h.

Typedef Documentation

◆ CRSimpleSel

typedef struct _CRSimpleSel CRSimpleSel

Definition at line 56 of file cr-simple-sel.h.

Enumeration Type Documentation

◆ Combinator

enum Combinator
Enumerator
NO_COMBINATOR 
COMB_WS 
COMB_PLUS 
COMB_TILDE 
COMB_GT 

Definition at line 40 of file cr-simple-sel.h.

◆ SimpleSelectorType

Enumerator
NO_SELECTOR_TYPE 
UNIVERSAL_SELECTOR 
TYPE_SELECTOR 

Definition at line 49 of file cr-simple-sel.h.

Function Documentation

◆ cr_simple_sel_append_simple_sel()

CRSimpleSel * cr_simple_sel_append_simple_sel ( CRSimpleSel a_this,
CRSimpleSel a_sel 
)

◆ cr_simple_sel_compute_specificity()

enum CRStatus cr_simple_sel_compute_specificity ( CRSimpleSel a_this)

◆ cr_simple_sel_destroy()

void cr_simple_sel_destroy ( CRSimpleSel a_this)

◆ cr_simple_sel_dump()

enum CRStatus cr_simple_sel_dump ( CRSimpleSel const *  a_this,
FILE *  a_fp 
)

◆ cr_simple_sel_dump_attr_sel_list()

enum CRStatus cr_simple_sel_dump_attr_sel_list ( CRSimpleSel const *  a_this)

◆ cr_simple_sel_new()

CRSimpleSel * cr_simple_sel_new ( void  )

◆ cr_simple_sel_one_to_string()

guchar * cr_simple_sel_one_to_string ( CRSimpleSel const *  a_this)

◆ cr_simple_sel_prepend_simple_sel()

CRSimpleSel * cr_simple_sel_prepend_simple_sel ( CRSimpleSel a_this,
CRSimpleSel a_sel 
)

◆ cr_simple_sel_to_string()

guchar * cr_simple_sel_to_string ( CRSimpleSel const *  a_this)