drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::message::ioutil::joiner< FwdIter > Class Template Reference

#include <ioutil.h>

Collaboration diagram for drizzled::message::ioutil::joiner< FwdIter >:
[legend]

Public Member Functions

 joiner (const std::string &separator, FwdIter start, FwdIter finish)

Private Member Functions

void write (std::ostream &out) const

Private Attributes

std::string m_sep
FwdIter m_start
FwdIter m_finish

Friends

std::ostream & operator<< (std::ostream &out, const joiner &j)

Detailed Description

template<class FwdIter>
class drizzled::message::ioutil::joiner< FwdIter >

Helper class for join() I/O manipulator.

This is a join I/O manipulator with arguments for join(). These has to be

Definition at line 37 of file ioutil.h.

Constructor & Destructor Documentation

◆ joiner()

template<class FwdIter>
drizzled::message::ioutil::joiner< FwdIter >::joiner ( const std::string & separator,
FwdIter start,
FwdIter finish )
inlineexplicit

Definition at line 44 of file ioutil.h.

Member Function Documentation

◆ write()

template<class FwdIter>
void drizzled::message::ioutil::joiner< FwdIter >::write ( std::ostream & out) const
inlineprivate

Definition at line 53 of file ioutil.h.

◆ operator<<

template<class FwdIter>
std::ostream & operator<< ( std::ostream & out,
const joiner< FwdIter > & j )
friend

Definition at line 38 of file ioutil.h.

Member Data Documentation

◆ m_finish

template<class FwdIter>
FwdIter drizzled::message::ioutil::joiner< FwdIter >::m_finish
private

Definition at line 51 of file ioutil.h.

◆ m_sep

template<class FwdIter>
std::string drizzled::message::ioutil::joiner< FwdIter >::m_sep
private

Definition at line 50 of file ioutil.h.

◆ m_start

template<class FwdIter>
FwdIter drizzled::message::ioutil::joiner< FwdIter >::m_start
private

Definition at line 51 of file ioutil.h.


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