SECWorkspaceManagerEx::GetPersistanceStrategy

SECPTNStrategy*SECWorkspaceManagerEx::GetPersistanceStrategy(const CString&strWorkspace)

Allocates the persistance strategy to be used for an open/save operation.

Defined in: SWSMGREX.CPP

Return Value

Pointer to the persistance strategy.

Parameters

strWorkspace

Name of workspace used with this strategy.

Comments

The extended workspace manager makes use of SECPersistTreeNode objects stored in a hierarchical manner to maintain its internal state. The persistance mechanism used for these objects can then be passed in at runtime (using the "Strategy" Design Pattern) to accomplish a transparent model for saving data to file, registry, or whatever other storage medium that may be necessary. Override this function to provide your own strategy to be utilized for load/save operations.

See Also

SECPersistentTreeNode

SECPTNStrategy