class CCL::Property

Overview

Access object property via path (e.g. More…

#include <trigger.h>

class Property
{
public:
    // construction

    Property (IObject* anchor, StringID propertyPath);
    Property (StringID propertyPath);

    // methods

    StringID getID () const;
    IObject* getHolder () const;
    Variant get () const;
    bool get (Variant& value) const;
    bool set (VariantRef value);
    operator Variant () const;
    Property& operator = (VariantRef value);
};

Detailed Documentation

Access object property via path (e.g.

“object.child1.property1”).