List of all members | Classes | Public Member Functions | Private Attributes
utl::split< istream > Class Template Reference

#include "utl/split.h"

Classes

class  iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
 operator std::vector< std::string > ()
 
 split (istream &is, const char delim= '\n')
 

Private Attributes

const char _delim
 
istream & _istream
 

Detailed Description

template<class istream>
class utl::split< istream >

Author
Darko Veberic
Date
2017-01-23

Definition at line 16 of file split.h.

Constructor & Destructor Documentation

template<class istream >
utl::split< istream >::split ( istream &  is,
const char  delim = '\n' 
)
inline

Definition at line 63 of file split.h.

Member Function Documentation

template<class istream >
iterator utl::split< istream >::begin ( )
inline
template<class istream >
iterator utl::split< istream >::end ( )
inline

Definition at line 66 of file split.h.

Referenced by utl::split< istream >::operator std::vector< std::string >().

template<class istream >
utl::split< istream >::operator std::vector< std::string > ( )
inline

Definition at line 68 of file split.h.

References utl::split< istream >::begin(), and utl::split< istream >::end().

Member Data Documentation

template<class istream >
const char utl::split< istream >::_delim
private

Definition at line 75 of file split.h.

Referenced by utl::split< istream >::begin().

template<class istream >
istream& utl::split< istream >::_istream
private

Definition at line 74 of file split.h.

Referenced by utl::split< istream >::begin().


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

, generated on Tue Sep 26 2023.