18     virtual void operator()(std::ostream& o) 
const = 0;
 
   37   template <
typename StoredType>
 
  104     long int index() const ATTRIBUTE_PURE;
 
  106     StoredType& operator()(
std::ostream& ostr) const;
 
  123 #include <vcsn/misc/xalloc.hxx> 
swap_type swap(StoredType &data) const 
A swapper. 
 
const xalloc & slot_
The xalloced data. 
 
swap_type(const xalloc &slot, StoredType &data)
Set data_ to data. 
 
StoredType & data_
Data to put in the stream. 
 
std::ostream & operator<<(std::ostream &os, direction d)
Pretty-printing. 
 
xalloc()
Allocates the slot. 
 
set_type(const xalloc &slot, StoredType &data)
Set data_ to data. 
 
Swap the data stored in the stream for a given one. 
 
Handle the data to put in the xalloced place. 
 
StoredType & data_
Variable in which we store the data to be swapped. 
 
void operator()(std::ostream &ostr) const 
Set the data in the xalloced place. 
 
const xalloc & slot_
The xalloced data. 
 
StoredType & data_
Variable in which we return the xalloc data. 
 
const long int index_
The index of the slot. 
 
void operator()(std::ostream &ostr) const 
Get the data from the xalloced place. 
 
Defines the operator() for the classes get_type, set_type and swap_type. 
 
get_type get(StoredType &data) const 
A getter. 
 
Handle the data to get from the xalloced place. 
 
get_type(const xalloc &slot, StoredType &data)
Set data_ to data. 
 
Allocate slots in std::ostreams. 
 
void operator()(std::ostream &ostr) const 
Swap the data from the xalloced place for a given one. 
 
long int index() const ATTRIBUTE_PURE
The xalloc index. 
 
virtual void operator()(std::ostream &o) const  =0
 
const xalloc & slot_
The xalloced data. 
 
set_type set(StoredType &data) const 
A setter.