gem5  v19.0.0.0
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

◆ ContainerPrint()

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

◆ operator()()

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

Definition at line 61 of file stl_helpers.hh.

Member Data Documentation

◆ first

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

Definition at line 53 of file stl_helpers.hh.

◆ out

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::operator<<().


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

Generated on Fri Feb 28 2020 16:27:21 for gem5 by doxygen 1.8.13