PKIFTSPMemoryHelper Class Reference

#include <PKIFTSPMemoryHelper.h>

Collaboration diagram for PKIFTSPMemoryHelper:

Collaboration graph
[legend]

List of all members.


Detailed Description

PKIFTSPMemoryHelper is an internally used class intended that provides memory management assistance. The class consists of several pointers to internal TSP-related structures. A (non-pointer) instance of the class is declared and the desired member pointers allocated. When the instance of this class falls out of scope the pointer will be deleted (along with certain members within the structure pointed).

TSP-enforcing: No

Definition at line 29 of file PKIFTSPMemoryHelper.h.


Public Member Functions

 PKIFTSPMemoryHelper ()
virtual ~PKIFTSPMemoryHelper ()

Public Attributes

PKIFTSPTimeStampReq * pRequest
PKIFTSPTimeStampResp * pResponse
PKIFTSPTSTInfo * pTSTInfo

Constructor & Destructor Documentation

PKIFTSPMemoryHelper::PKIFTSPMemoryHelper (  ) 

Interface: External

This function creates and initializes an instance of PKIFTSPMemoryHelper. All public member variables are initialized to NULL. Member variables that are non-NULL when the destructor is invoked will be deleted, along with selected fields within the member variables.

Returns:
None

Definition at line 88 of file PKIFTSPMemoryHelper.cpp.

References LOG_STRING_DEBUG, pRequest, pResponse, pTSTInfo, and TOOLKIT_TSP_ASN.

PKIFTSPMemoryHelper::~PKIFTSPMemoryHelper (  )  [virtual]

Interface: External

This function destroys PKIFTSPMemoryHelper objects including the clean-up of the public member variables.

Returns:
None

Definition at line 103 of file PKIFTSPMemoryHelper.cpp.

References FreeRequestMembers(), FreeResponseMembers(), FreeTSTInfoMembers(), LOG_STRING_DEBUG, pRequest, pResponse, pTSTInfo, and TOOLKIT_TSP_ASN.


Member Data Documentation

PKIFTSPTimeStampReq* PKIFTSPMemoryHelper::pRequest

PKIFTSPTimeStampResp* PKIFTSPMemoryHelper::pResponse


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:21:05 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6