SECPersistentTreeNode::SaveKeyValues

BOOLSECPersistentTreeNode::SaveKeyValues(SECPTNStrategy*pStrategy)

Save the data associated with this node and all children.

Defined in: PERSTREE.CPP

Return Value

True on successful save, otherwise False.

Parameters

pStrategy

Pointer to the strategy used for the persistent store.

Comments

This function is used to save the internal state of this PTN object and all children (recursive) to persistant storage. The strategy object passed in defines the exact protocol and medium (profile, registry, etc.) used for the storage (can be swapped out at runtime according to the strategy design pattern). Typically this function is called on the root PTN node, and then internally delegates recursively to all children.