Limi
Public Member Functions | List of all members
Limi::printer< Key > Struct Template Reference

The default implementation of Limi::printer_base. More...

#include <generics.h>

Inheritance diagram for Limi::printer< Key >:
Inheritance graph
[legend]
Collaboration diagram for Limi::printer< Key >:
Collaboration graph
[legend]

Public Member Functions

virtual void print (const Key &item, std::ostream &out) const override
 Prints an item to the out stream. More...
 

Detailed Description

template<class Key>
struct Limi::printer< Key >

The default implementation of Limi::printer_base.

It uses the << operator of Key. This template can be specialised for your State and Symbol classes if desired.

Template Parameters
KeyThe class of the items that should be printed.

Member Function Documentation

template<class Key>
virtual void Limi::printer< Key >::print ( const Key &  item,
std::ostream &  out 
) const
inlineoverridevirtual

Prints an item to the out stream.

This class needs to be overridden.

Implements Limi::printer_base< Key >.


The documentation for this struct was generated from the following file: