InspIRCd  4.0
Public Member Functions | List of all members
irc::commasepstream Class Reference

#include <hashcomp.h>

Inheritance diagram for irc::commasepstream:

Public Member Functions

 commasepstream (const std::string &source, bool allowempty=false)
- Public Member Functions inherited from irc::sepstream
 sepstream (const std::string &source, char separator, bool allowempty=false)
bool GetToken (std::string &token)
template<typename Numeric >
bool GetNumericToken (Numeric &token)
const std::string GetRemaining ()
bool StreamEnd ()
bool Contains (const std::string &value)

Additional Inherited Members

- Protected Attributes inherited from irc::sepstream
std::string tokens
char sep
size_t pos = 0
bool allow_empty

Detailed Description

A derived form of sepstream, which separates on commas

Constructor & Destructor Documentation

◆ commasepstream()

irc::commasepstream::commasepstream ( const std::string &  source,
bool  allowempty = false 

Initialize with comma separator

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