RTT::detail::PropertyParser Class Reference

Get the property and bag from an invocation path like bag.subbag.prop . More...

#include <rtt/scripting/PropertyParser.hpp>

List of all members.

Public Member Functions

 PropertyParser (CommonParser &cp)
void setPropertyBag (PropertyBag *pb)
 Change the bag we want to traverse.
void reset ()
 After reset, property() == 0 and bag == 0.
rule_t & locator ()
 The locator tries to go as far as possible in the bag-to-property path and will never throw.
PropertyBaseproperty () const
PropertyBagbag () const

Detailed Description

Get the property and bag from an invocation path like bag.subbag.prop .

Definition at line 54 of file PropertyParser.hpp.


Member Function Documentation

rule_t& RTT::detail::PropertyParser::locator (  ) 

The locator tries to go as far as possible in the bag-to-property path and will never throw.

property() will contain the last valid property found. If zero, nothing was found. If non-zero bag() returns the bag type if property is a bag, or zero if property() is not a bag. Thus property() contains the 'name' of the deepest nested bag() found.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:47 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3