Rocket::Core::StyleSheetNodeSelectorOnlyChild Class Reference

#include <StyleSheetNodeSelectorOnlyChild.h>

Inheritance diagram for Rocket::Core::StyleSheetNodeSelectorOnlyChild:
Collaboration diagram for Rocket::Core::StyleSheetNodeSelectorOnlyChild:

Public Member Functions

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

Detailed Description

A node selector for an only child.

Author:
Peter Curry

Member Function Documentation

virtual bool Rocket::Core::StyleSheetNodeSelectorOnlyChild::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: