Rocket::Core::StyleSheetNodeSelectorNthLastChild Class Reference

#include <StyleSheetNodeSelectorNthLastChild.h>

Inheritance diagram for Rocket::Core::StyleSheetNodeSelectorNthLastChild:
Collaboration diagram for Rocket::Core::StyleSheetNodeSelectorNthLastChild:

Public Member Functions

virtual bool IsApplicable (const Element *element, int a, int b)

Detailed Description

A node selector for the nth-last generic child.

Author:
Peter Curry

Member Function Documentation

bool Rocket::Core::StyleSheetNodeSelectorNthLastChild::IsApplicable ( const Element element,
int  a,
int  b 
) [virtual]

Returns true if the the node this selector is discriminating for is applicable to a given element.

Parameters:
element[in] The element to determine node applicability for.
a[in] For counting selectors, this is the 'a' variable of an + b.
b[in] For counting selectors, this is the 'b' variable of an + b.

Implements Rocket::Core::StyleSheetNodeSelector.


The documentation for this class was generated from the following files: