Isle
|
[AI] Abstract base class for storing data payloads inside nodes of a tree structure, forming the data content of each tree node. More...
#include <legotree.h>
Public Member Functions | |
LegoTreeNodeData () | |
[AI] Default constructor. More... | |
virtual | ~LegoTreeNodeData () |
[AI] Virtual destructor for safe polymorphic deletion of derived classes. More... | |
virtual LegoResult | Read (LegoStorage *p_storage) |
[AI] Virtual function for deserializing node data from a generic LegoStorage device. More... | |
virtual LegoResult | Write (LegoStorage *p_storage) |
[AI] Virtual function for serializing node data to a generic LegoStorage device. More... | |
[AI] Abstract base class for storing data payloads inside nodes of a tree structure, forming the data content of each tree node.
[AI] Provides an interface for reading and writing data payloads to and from a generic LegoStorage. Intended to be subclassed by users to store arbitrary, serializable data in a tree node. Size: 0x4 bytes (empty, only for polymorphic interface) [AI]
Definition at line 15 of file legotree.h.
|
inline |
[AI] Default constructor.
Definition at line 18 of file legotree.h.
|
inlinevirtual |
[AI] Virtual destructor for safe polymorphic deletion of derived classes.
Definition at line 22 of file legotree.h.
|
inlinevirtual |
[AI] Virtual function for deserializing node data from a generic LegoStorage device.
p_storage | Storage object to read binary data from. [AI] |
[AI] Returns SUCCESS by default. Override in subclasses to read node-specific data.
Reimplemented in LegoAnimNodeData.
Definition at line 28 of file legotree.h.
|
inlinevirtual |
[AI] Virtual function for serializing node data to a generic LegoStorage device.
p_storage | Storage object to write binary data to. [AI] |
[AI] Returns SUCCESS by default. Override in subclasses to write node-specific data.
Reimplemented in LegoAnimNodeData.
Definition at line 34 of file legotree.h.