libutap  0.93
Uppaal Timed Automata Parser
UTAP::print< T > Struct Template Reference

print – template for pretty printing lists. More...

#include <signalflow.h>

Inheritance diagram for UTAP::print< T >:
Collaboration diagram for UTAP::print< T >:

Public Member Functions

 print (std::ostream &out, const char *sep)
 
void operator() (const T &x)
 

Public Attributes

std::ostream & os
 
const char * infix
 
bool need
 

Detailed Description

template<class T>
struct UTAP::print< T >

print – template for pretty printing lists.

similar to ostream_iterator except it does not print last delimiter.

Definition at line 175 of file signalflow.h.

Constructor & Destructor Documentation

◆ print()

template<class T>
UTAP::print< T >::print ( std::ostream &  out,
const char *  sep 
)
inline

Definition at line 180 of file signalflow.h.

Member Function Documentation

◆ operator()()

template<class T>
void UTAP::print< T >::operator() ( const T &  x)
inline

Definition at line 182 of file signalflow.h.

Member Data Documentation

◆ infix

template<class T>
const char* UTAP::print< T >::infix

Definition at line 178 of file signalflow.h.

◆ need

template<class T>
bool UTAP::print< T >::need

Definition at line 179 of file signalflow.h.

◆ os

template<class T>
std::ostream& UTAP::print< T >::os

Definition at line 177 of file signalflow.h.


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