ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
SelectorSequences are comprised of one or more SimpleSelectors. More...
#include <SelectorSequence.h>
Public Member Functions | |
Class * | _SelectorSequence (void) |
The SelectorSequence archetype. More... | |
SelectorSequence * | initWithSequence (SelectorSequence *self, const char *sequence) |
Initializes this SelectorSequence with the given sequence. More... | |
_Bool | matchesView (const SelectorSequence *self, const View *view) |
Array * | parse (const char *rule) |
Data Fields | |
SequenceCombinator | left |
The combinators. More... | |
Object | object |
The superclass. More... | |
SequenceCombinator | right |
char * | sequence |
The sequence, as provided by the user. More... | |
Array * | simpleSelectors |
The SimpleSelectors comprising this SelectorSequence. More... | |
Protected Attributes | |
SelectorSequenceInterface * | interface |
The interface. More... | |
SelectorSequences are comprised of one or more SimpleSelectors.
Definition at line 55 of file SelectorSequence.h.
Class * _SelectorSequence | ( | void | ) |
The SelectorSequence archetype.
Definition at line 189 of file SelectorSequence.c.
SelectorSequence * initWithSequence | ( | SelectorSequence * | self, |
const char * | sequence | ||
) |
Initializes this SelectorSequence with the given sequence.
self | The SelectorSequence. |
sequence | A C-string specifying a sequence of SimpleSelectors. |
NULL
on error. Definition at line 65 of file SelectorSequence.c.
_Bool matchesView | ( | const SelectorSequence * | self, |
const View * | view | ||
) |
self | The SelectorSequence. |
view | The View. |
Definition at line 86 of file SelectorSequence.c.
Array * parse | ( | const char * | rule | ) |
rule | A C-string specifying a Selector rule. |
Definition at line 274 of file Selector.c.
|
protected |
The interface.
Definition at line 66 of file SelectorSequence.h.
SequenceCombinator SelectorSequence::left |
The combinators.
Definition at line 71 of file SelectorSequence.h.
Object SelectorSequence::object |
The superclass.
Definition at line 60 of file SelectorSequence.h.
SequenceCombinator SelectorSequence::right |
Definition at line 71 of file SelectorSequence.h.
char* SelectorSequence::sequence |
The sequence, as provided by the user.
Definition at line 81 of file SelectorSequence.h.
Array* SelectorSequence::simpleSelectors |
The SimpleSelectors comprising this SelectorSequence.
Definition at line 76 of file SelectorSequence.h.