gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
m5::stl_helpers::ContainerPrint< T > Class Template Reference

#include <stl_helpers.hh>

Public Member Functions

 ContainerPrint (std::ostream &out)
 
void operator() (const T &elem)
 

Private Attributes

std::ostream & out
 
bool first
 

Detailed Description

template<class T>
class m5::stl_helpers::ContainerPrint< T >

Definition at line 49 of file stl_helpers.hh.

Constructor & Destructor Documentation

template<class T >
m5::stl_helpers::ContainerPrint< T >::ContainerPrint ( std::ostream &  out)
inline

Definition at line 56 of file stl_helpers.hh.

Member Function Documentation

template<class T >
void m5::stl_helpers::ContainerPrint< T >::operator() ( const T &  elem)
inline

Member Data Documentation

template<class T >
bool m5::stl_helpers::ContainerPrint< T >::first
private

Definition at line 53 of file stl_helpers.hh.

Referenced by m5::stl_helpers::ContainerPrint< T >::operator()().

template<class T >
std::ostream& m5::stl_helpers::ContainerPrint< T >::out
private

Definition at line 52 of file stl_helpers.hh.

Referenced by m5::stl_helpers::ContainerPrint< T >::operator()().


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

Generated on Fri Jun 9 2017 13:04:32 for gem5 by doxygen 1.8.6