|
PST File Format SDK v0.4
|
Defines a transform from a subnode_info to an actual node object. More...
#include <node.h>
Collaboration diagram for pstsdk::subnode_transform_info:Public Member Functions | |
| subnode_transform_info (const std::shared_ptr< node_impl > &parent) | |
| Initialize this functor with the container node involved. | |
| node | operator() (const subnode_info &info) const |
| Given a subnode_info, construct a subnode. | |
Defines a transform from a subnode_info to an actual node object.
Nodes actually contain a collection of subnode_info objects, not a collection of subnodes. In order to provide the friendly facade of nodes appearing to have a collection of subnodes, we define this transform. It is used later with the boost iterator library to define a proxy iterator for the subnodes of a node.
|
inline |
Given a subnode_info, construct a subnode.
| [in] | info | The info about the subnode |