Torque2D Reference
Loading...
Searching...
No Matches
TamlVisitor Class Referenceabstract

#include <tamlVisitor.h>

Inheritance diagram for TamlVisitor:

Classes

struct  PropertyState
 Visitor property state. More...

Public Member Functions

 TamlVisitor ()
virtual ~TamlVisitor ()
virtual bool wantsPropertyChanges (void)=0
virtual bool wantsRootOnly (void)=0
 Whether the visitor wants to visit the root node only.
virtual bool visit (const TamlParser &parser, PropertyState &propertyState)=0
 The state of the visited property.

Detailed Description

Constructor & Destructor Documentation

◆ TamlVisitor()

TamlVisitor ( )
inline

◆ ~TamlVisitor()

virtual ~TamlVisitor ( )
inlinevirtual

Member Function Documentation

◆ visit()

virtual bool visit ( const TamlParser & parser,
PropertyState & propertyState )
pure virtual

◆ wantsPropertyChanges()

virtual bool wantsPropertyChanges ( void )
pure virtual

Whether the visitor wants to perform property changes. This allows a check against the parser which may not allow changes.

Implemented in TamlAssetDeclaredUpdateVisitor, TamlAssetDeclaredVisitor, TamlAssetReferencedUpdateVisitor, TamlAssetReferencedVisitor, and TamlModuleIdUpdateVisitor.

◆ wantsRootOnly()

virtual bool wantsRootOnly ( void )
pure virtual

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