![]() |
VR-Forces Developer's Guide
|
Collects entity validation issues produced during sysdef loading.
Public Member Functions | |
| DtEntityValidationCollector (std::vector< DtVariable > &unusedBindings, std::vector< DtVariable > &hiddenVariables) | |
| std::vector< DtVariable > & | unusedBindings () |
| std::vector< DtVariable > & | hiddenVariables () |
| const std::shared_ptr < DtSysdefContext > & | currentContext () const |
| void | setRootContext (std::shared_ptr< DtSysdefContext > ctx) |
| DtSysdefContext * | pushContext (const DtString &listName, const DtString &descriptorName) |
| void | popContext () |
Private Attributes | |
| std::vector< DtVariable > & | myUnusedBindings |
| std::vector< DtVariable > & | myHiddenVariables |
| std::shared_ptr< DtSysdefContext > | myCurrentContext |
|
inlineexplicit |
|
inline |
References myUnusedBindings.
|
inline |
References myHiddenVariables.
|
inline |
The current context node (shared with any DtVariables emitted during this level).
References myCurrentContext.
|
inline |
Replace the root context (called once by vrfObjectParameters with the entity file).
References myCurrentContext.
|
inline |
Push a new child context for a descriptor being loaded. Returns a non-owning pointer to the new node so the caller can fill in node->file after getSelf() returns (the filename is only known then).
References DtSysdefContext::listName, and myCurrentContext.
|
inline |
Pop back to the parent context.
References myCurrentContext.
|
private |
Referenced by unusedBindings().
|
private |
Referenced by hiddenVariables().
|
private |
Referenced by currentContext(), popContext(), pushContext(), and setRootContext().