OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
SimplePointerInterPassDatum< T > Class Template Reference

#include <InterPassDatum.hh>

Inheritance diagram for SimplePointerInterPassDatum< T >:
Inheritance graph
Collaboration diagram for SimplePointerInterPassDatum< T >:
Collaboration graph

Public Member Functions

 SimplePointerInterPassDatum ()
 
virtual ~SimplePointerInterPassDatum ()
 
- Public Member Functions inherited from InterPassDatum
virtual ~InterPassDatum ()
 

Public Attributes

T * data
 

Additional Inherited Members

- Protected Member Functions inherited from InterPassDatum
 InterPassDatum ()
 

Detailed Description

template<typename T>
class SimplePointerInterPassDatum< T >

A templated class for storing pointer to inter-pass data

Takes ownership of the data and calls delete for it.

Definition at line 76 of file InterPassDatum.hh.

Constructor & Destructor Documentation

◆ SimplePointerInterPassDatum()

template<typename T >
SimplePointerInterPassDatum< T >::SimplePointerInterPassDatum ( )
inline

Definition at line 78 of file InterPassDatum.hh.

78 : InterPassDatum(), data(NULL) {}

◆ ~SimplePointerInterPassDatum()

template<typename T >
virtual SimplePointerInterPassDatum< T >::~SimplePointerInterPassDatum ( )
inlinevirtual

Definition at line 79 of file InterPassDatum.hh.

79 { delete data; };

References SimplePointerInterPassDatum< T >::data.

Member Data Documentation

◆ data

template<typename T >
T* SimplePointerInterPassDatum< T >::data

The documentation for this class was generated from the following file:
InterPassDatum::InterPassDatum
InterPassDatum()
Definition: InterPassDatum.hh:53
SimplePointerInterPassDatum::data
T * data
Definition: InterPassDatum.hh:79