QxOrm
1.5.0
C++ Object Relational Mapping library
|
#include <cont_ptr_utils.h>
Public Member Functions | |
output_object (_OutputStrm &__outs, const _StringType &__sep) | |
template<typename _Tp > | |
void | operator() (const _Tp *__ptr) const |
Private Attributes | |
_OutputStrm & | _M_outs |
_StringType | _M_sep |
Functor to output objects pointed by a container of pointers.
A typical usage might be like:
list<Object*> l;
...
for_each(l.begin(), l.end(), output_object<ostream>(cout, " "));
Definition at line 128 of file cont_ptr_utils.h.
qx::memory::output_object< _OutputStrm, _StringType >::output_object | ( | _OutputStrm & | __outs, |
const _StringType & | __sep | ||
) | [inline] |
Definition at line 130 of file cont_ptr_utils.h.
void qx::memory::output_object< _OutputStrm, _StringType >::operator() | ( | const _Tp * | __ptr | ) | const [inline] |
Definition at line 135 of file cont_ptr_utils.h.
_OutputStrm& qx::memory::output_object< _OutputStrm, _StringType >::_M_outs [private] |
Definition at line 141 of file cont_ptr_utils.h.
_StringType qx::memory::output_object< _OutputStrm, _StringType >::_M_sep [private] |
Definition at line 142 of file cont_ptr_utils.h.