LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
misc::xalloc< StoredType >::get_type Class Reference

Handle the data to get from the xalloced place. More...

Inheritance diagram for misc::xalloc< StoredType >::get_type:
Collaboration diagram for misc::xalloc< StoredType >::get_type:

Public Member Functions

 get_type (const xalloc &slot, StoredType &data)
 Set data_ to data.
void operator() (std::ostream &ostr) const override
 Get the data from the xalloced place.

Private Attributes

const xallocslot_
 The xalloced data.
StoredType & data_
 Variable in which we return the xalloc data.

Detailed Description

template<class StoredType>
class misc::xalloc< StoredType >::get_type

Handle the data to get from the xalloced place.

This inner class is used only with the get method.

Constructor & Destructor Documentation

template<class StoredType>
misc::xalloc< StoredType >::get_type::get_type ( const xalloc slot,
StoredType &  data 
)

Set data_ to data.

Member Function Documentation

template<class StoredType >
void misc::xalloc< StoredType >::get_type::operator() ( std::ostream &  ostr) const
overridevirtual

Get the data from the xalloced place.

Implements misc::iomanipulator.

Member Data Documentation

template<class StoredType>
StoredType& misc::xalloc< StoredType >::get_type::data_
private

Variable in which we return the xalloc data.

template<class StoredType>
const xalloc& misc::xalloc< StoredType >::get_type::slot_
private

The xalloced data.


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