reSIProcate/rutil  9694
Public Member Functions | Public Attributes
resip::InserterClass< T > Class Template Reference

Allows a (possibly recursive) container of anything with operator<< to be dumped to a stream. More...

#include <Inserter.hxx>

List of all members.

Public Member Functions

 InserterClass (const T &t)

Public Attributes

const T & _t

Detailed Description

template<class T>
class resip::InserterClass< T >

Allows a (possibly recursive) container of anything with operator<< to be dumped to a stream.

This is particularly useful within a Log call. e.g.

   void logNameAddrs(vector<resip::NameAddr>& contacts)
   {
      DebugLog(<< "Contacts: " << Inserter(contacts));
   }
See also:
Inserter()

Definition at line 270 of file Inserter.hxx.


Constructor & Destructor Documentation

template<class T >
resip::InserterClass< T >::InserterClass ( const T &  t) [inline]

Definition at line 273 of file Inserter.hxx.

         : _t(t)
      {}

Member Data Documentation

template<class T >
const T& resip::InserterClass< T >::_t

Definition at line 277 of file Inserter.hxx.


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