Torque2D Reference
|
#include <tamlVisitor.h>
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. More... | |
virtual bool | visit (const TamlParser &parser, PropertyState &propertyState)=0 |
The state of the visited property. More... | |
|
inline |
|
inlinevirtual |
|
pure virtual |
The state of the visited property.
Implemented in TamlAssetDeclaredUpdateVisitor, TamlAssetReferencedUpdateVisitor, TamlAssetDeclaredVisitor, TamlAssetReferencedVisitor, and TamlModuleIdUpdateVisitor.
|
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, TamlAssetReferencedUpdateVisitor, TamlAssetDeclaredVisitor, TamlAssetReferencedVisitor, and TamlModuleIdUpdateVisitor.
|
pure virtual |
Whether the visitor wants to visit the root node only.
Implemented in TamlAssetDeclaredUpdateVisitor, TamlAssetReferencedUpdateVisitor, TamlAssetDeclaredVisitor, TamlAssetReferencedVisitor, and TamlModuleIdUpdateVisitor.