Vcsn  2.2a
Be Rational
vcsn::xalloc< StoredType >::set_type Class Reference

Handle the data to put in the xalloced place. More...

Inheritance diagram for vcsn::xalloc< StoredType >::set_type:
Collaboration diagram for vcsn::xalloc< StoredType >::set_type:

Public Member Functions

 set_type (const xalloc &slot, StoredType &data)
 Set data_ to data. More...
void operator() (std::ostream &ostr) const
 Set the data in the xalloced place. More...

Private Attributes

const xallocslot_
 The xalloced data. More...
StoredType & data_
 Data to put in the stream. More...

Detailed Description

template<typename StoredType>
class vcsn::xalloc< StoredType >::set_type

Handle the data to put in the xalloced place.

This inner class is used only with the set method.

Definition at line 45 of file xalloc.hh.

Constructor & Destructor Documentation

template<typename StoredType >
vcsn::xalloc< StoredType >::set_type::set_type ( const xalloc slot,
StoredType &  data 

Set data_ to data.

Definition at line 53 of file xalloc.hxx.

Member Function Documentation

template<typename StoredType >
void vcsn::xalloc< StoredType >::set_type::operator() ( std::ostream &  ostr) const

Set the data in the xalloced place.

Implements vcsn::iomanipulator.

Definition at line 59 of file xalloc.hxx.

Member Data Documentation

template<typename StoredType>
StoredType& vcsn::xalloc< StoredType >::set_type::data_

Data to put in the stream.

Definition at line 56 of file xalloc.hh.

template<typename StoredType>
const xalloc& vcsn::xalloc< StoredType >::set_type::slot_

The xalloced data.

Definition at line 54 of file xalloc.hh.

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