- A Logic Circuit Simulation Library in C++

lcs::DataPtr< T > Class Template Reference

#include <dataptr.h>

List of all members.

Detailed Description

template<typename T>
class lcs::DataPtr< T >

A simple template class which encapsulates a pointer to an object of any class. This class can be used to create a (psuedo) double pointer to an object (of some class) while avoiding the use of **. Under normal circumstances, a user of libLCS will not need to make use of this class directly.

Public Member Functions

 DataPtr ()

Public Attributes

T * data

Constructor & Destructor Documentation

template<typename T>
lcs::DataPtr< T >::DataPtr (  ) 

Default constructor. Initializes the pointer member to NULL.

Member Data Documentation

template<typename T>
T* lcs::DataPtr< T >::data

The pointer member.

Copyright © 2006, 2007 Siva Chandra