oasys::ScopeXDRFree Class Reference

#include <XDRUtils.h>

List of all members.


Detailed Description

Similar idea to ScopePointer and ScopeMalloc (see Pointers.h) but meant to ensure that xdr_free() is called before a fn returns.

Definition at line 49 of file XDRUtils.h.

Public Member Functions

 ScopeXDRFree (xdrproc_t proc=NULL, char *ptr=NULL)
 ~ScopeXDRFree ()
ScopeXDRFreeoperator= (const ScopeXDRFree &)
 Not implemented on purpose.

Private Attributes

xdrproc_t proc_
char * ptr_


Constructor & Destructor Documentation

oasys::ScopeXDRFree::ScopeXDRFree ( xdrproc_t  proc = NULL,
char *  ptr = NULL 
) [inline]

Definition at line 51 of file XDRUtils.h.

oasys::ScopeXDRFree::~ScopeXDRFree (  )  [inline]

Definition at line 54 of file XDRUtils.h.

References proc_, and ptr_.


Member Function Documentation

ScopeXDRFree& oasys::ScopeXDRFree::operator= ( const ScopeXDRFree  ) 

Not implemented on purpose.

Don't handle assignment to another ScopeXDRFree


Member Data Documentation

xdrproc_t oasys::ScopeXDRFree::proc_ [private]

Definition at line 69 of file XDRUtils.h.

Referenced by ~ScopeXDRFree().

char* oasys::ScopeXDRFree::ptr_ [private]

Definition at line 70 of file XDRUtils.h.

Referenced by ~ScopeXDRFree().


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 14:48:08 2006 for DTN Reference Implementation by  doxygen 1.5.1