log4cpp::StringUtil - Online Linux Manual PageSection : 3
Updated : 4 Aug 2014
Source : Version 1.0
Note : log4cpp
NAMElog4cpp::StringUtil −
SYNOPSIS
#include <StringUtil.hh>
Static Public Member Functionsstatic std::string vform (const char *format, va_list args)
Returns a string contructed from the a format specifier and a va_list of arguments, analogously to vprintf(3). static std::string trim (const std::string &s)
Returns a string identical to the given string but without leading or trailing HTABs or spaces. static unsigned int split (std::vector< std::string > &v, const std::string &s, char delimiter, unsigned int maxSegments=INT_MAX)
splits a string into a vector of string segments based on the given delimiter. template<typename T > static unsigned int split (T &output, const std::string &s, char delimiter, unsigned int maxSegments=INT_MAX)
splits a string into string segments based on the given delimiter and assigns the segments through an output_iterator.
Member Function Documentation
template<typename T > static unsigned int log4cpp::StringUtil::split (T & output, const std::string & s, char delimiter, unsigned int maxSegments = INT_MAX) [inline, static]splits a string into string segments based on the given delimiter and assigns the segments through an output_iterator. Parameters: output The output_iterator through which to assign the string segments. Typically this will be a back_insertion_iterator.
s The string to split into segments.
delimiter The delimiter character
maxSegments The maximum number of segments. Returns: The actual number of segments (limited by maxSegments).
unsigned int log4cpp::StringUtil::split (std::vector< std::string > & v, const std::string & s, char delimiter, unsigned int maxSegments = INT_MAX) [static]splits a string into a vector of string segments based on the given delimiter. Parameters: v The vector in which the segments will be stored. The vector will be emptied before storing the segments
s The string to split into segments.
delimiter The delimiter character
maxSegments the maximum number of segments. Upon return v.size() <= maxSegments. The string is scanned from left to right so v[maxSegments - 1] may contain a string containing the delimiter character. Returns: The actual number of segments (limited by maxSegments).
std::string log4cpp::StringUtil::trim (const std::string & s) [static]Returns a string identical to the given string but without leading or trailing HTABs or spaces.
std::string log4cpp::StringUtil::vform (const char * format, va_list args) [static]Returns a string contructed from the a format specifier and a va_list of arguments, analogously to vprintf(3). Parameters: format the format specifier.
args the va_list of arguments.
AuthorGenerated automatically by Doxygen for log4cpp from the source code. 0
Johanes Gumabo
Data Size : 11,906 byte
man-log4cpp::StringUtil.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 184,251
Visitor ID : :
Visitor IP : 3.21.244.34 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.