|
|||
|
|||
|
#include <hashcomp.h>
Inheritance diagram for irc::stringjoiner:


Public Member Functions | |
| stringjoiner (const std::string &seperator, const std::vector< std::string > &sequence, int begin, int end) | |
| Join elements of a vector, between (and including) begin and end. | |
| stringjoiner (const std::string &seperator, const std::deque< std::string > &sequence, int begin, int end) | |
| Join elements of a deque, between (and including) begin and end. | |
| stringjoiner (const std::string &seperator, const char *const *sequence, int begin, int end) | |
| Join elements of an array of char arrays, between (and including) begin and end. | |
| std::string & | GetJoined () |
| Get the joined sequence. | |
Private Attributes | |
| std::string | joined |
| Output string. | |
This class can join a vector of std::string, a deque of std::string, or a const char* const* array, using overloaded constructors.
Definition at line 156 of file hashcomp.h.
|
||||||||||||||||||||
|
Join elements of a vector, between (and including) begin and end.
Definition at line 383 of file hashcomp.cpp. References joined. |
|
||||||||||||||||||||
|
Join elements of a deque, between (and including) begin and end.
Definition at line 393 of file hashcomp.cpp. References joined. |
|
||||||||||||||||||||
|
Join elements of an array of char arrays, between (and including) begin and end.
Definition at line 403 of file hashcomp.cpp. References joined. |
|
|
Get the joined sequence.
Definition at line 413 of file hashcomp.cpp. References joined. Referenced by ListModeBase::DoSyncChannel(), and RemoveBase::Handle(). |
|
|
Output string.
Definition at line 162 of file hashcomp.h. Referenced by GetJoined(), and stringjoiner(). |