![]() |
Vcsn
2.8
Be Rational
|
Swap the data stored in the stream for a given one. More...
Public Member Functions | |
swap_type (const xalloc &slot, StoredType &data) | |
Set data_ to data. More... | |
void | operator() (std::ostream &ostr) const |
Swap the data from the xalloced place for a given one. More... | |
Private Attributes | |
const xalloc & | slot_ |
The xalloced data. More... | |
StoredType & | data_ |
Variable in which we store the data to be swapped. More... | |
Swap the data stored in the stream for a given one.
This inner class is used only with the swap method.
vcsn::xalloc< StoredType >::swap_type::swap_type | ( | const xalloc & | slot, |
StoredType & | data | ||
) |
Set data_ to data.
Definition at line 121 of file xalloc.hxx.
Referenced by vcsn::xalloc< StoredType >::swap().
|
virtual |
Swap the data from the xalloced place for a given one.
Implements vcsn::iomanipulator.
Definition at line 127 of file xalloc.hxx.
References vcsn::xalloc< StoredType >::swap_type::data_, vcsn::xalloc< StoredType >::swap_type::slot_, and vcsn::detail::swap().
|
private |
Variable in which we store the data to be swapped.
Definition at line 94 of file xalloc.hh.
Referenced by vcsn::xalloc< StoredType >::swap_type::operator()().
|
private |
The xalloced data.
Definition at line 92 of file xalloc.hh.
Referenced by vcsn::xalloc< StoredType >::swap_type::operator()().