Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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<class 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 46 of file xalloc.hh.

Constructor & Destructor Documentation

template<class 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<class StoredType >
void vcsn::xalloc< StoredType >::set_type::operator() ( std::ostream &  ostr) const
virtual

Set the data in the xalloced place.

Implements vcsn::iomanipulator.

Definition at line 59 of file xalloc.hxx.

Member Data Documentation

template<class StoredType >
StoredType& vcsn::xalloc< StoredType >::set_type::data_
private

Data to put in the stream.

Definition at line 57 of file xalloc.hh.

template<class StoredType >
const xalloc& vcsn::xalloc< StoredType >::set_type::slot_
private

The xalloced data.

Definition at line 55 of file xalloc.hh.


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