condition.hxx File Reference

Declarations and inline methods for property conditions. More...

#include <simgear/debug/logstream.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/structure/SGReferenced.hxx>

Go to the source code of this file.

Classes

class  SGCondition
 An encoded condition. More...
class  SGPropertyCondition
 Condition for a single property. More...
class  SGNotCondition
 Condition for a 'not' operator. More...
class  SGAndCondition
 Condition for an 'and' group. More...
class  SGOrCondition
 Condition for an 'or' group. More...
class  SGComparisonCondition
 Abstract base class for property comparison conditions. More...
class  SGConditional
 Base class for a conditional components. More...

Functions

SGConditionsgReadCondition (SGPropertyNode *prop_root, const SGPropertyNode *node)
 Global function to make a condition out of properties.

Detailed Description

Declarations and inline methods for property conditions.

Written by David Megginson, started 2000. CLO May 2003 - Split out condition specific code.

This file is in the Public Domain, and comes with no warranty.

Definition in file condition.hxx.


Function Documentation

SGCondition* sgReadCondition ( SGPropertyNode prop_root,
const SGPropertyNode node 
)

Global function to make a condition out of properties.

The top-level is always an implicit 'and' group, whatever the node's name (it should usually be "condition").

Parameters:
node The top-level condition node (usually named "condition").
Returns:
A pointer to a newly-allocated condition; it is the responsibility of the caller to delete the condition when it is no longer needed.

Definition at line 421 of file condition.cxx.


Generated on 23 Feb 2010 for SimGear by  doxygen 1.6.1