Rocket::Core::PropertyParser Class Reference

#include <PropertyParser.h>

Inheritance diagram for Rocket::Core::PropertyParser:

Public Member Functions

virtual bool ParseValue (Property &property, const String &value, const ParameterMap &parameters) const =0
virtual void Release ()=0
 Called when the parser is released. This should free all dynamic memory used by the parser.

Detailed Description

A property parser takes a property declaration in string form, validates it, and converts it to a Property.

Author:
Peter Curry

Member Function Documentation

virtual bool Rocket::Core::PropertyParser::ParseValue ( Property property,
const String value,
const ParameterMap &  parameters 
) const [pure virtual]

Called to parse a RCSS declaration.

Parameters:
[out] property The property to set the parsed value on.
[in] value The raw value defined for this property.
[in] parameters The list of parameters defined for this property.
Returns:
True if the value was parsed successfully, false otherwise.

Implemented in Rocket::Core::PropertyParserColour, Rocket::Core::PropertyParserKeyword, Rocket::Core::PropertyParserNumber, and Rocket::Core::PropertyParserString.


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