Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shevek_split(3) [debian man page]

shevek::split(3)					     Library Functions Manual						  shevek::split(3)

NAME
shevek::split - Split a string into words and retrieve them individually. SYNOPSIS
#include <split.hh> Public Member Functions split (std::string const &str=std::string()) Create a new split object, and optionally load it with data. void load (std::string const &str, bool allow_empty=false, std::string const &delimiters=std::string(' r ', 8)) Load new data into an existing split object. std::string operator[] (unsigned idx) const Get a word from the split object. split sub (unsigned from) const Get a new split object containing only the last part of this one. Detailed Description Split a string into words and retrieve them individually. Member Function Documentation std::string shevek::split::operator[] (unsignedidx) const [inline] Get a word from the split object. This differs from std::vector's method in that it returns an empty string if idx is out of range. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::split(3)

Check Out this Related Man Page

shevek::rostring(3)					     Library Functions Manual					       shevek::rostring(3)

NAME
shevek::rostring - shevek::rostring is identical to shevek::ostring, but it uses std::string instead of Glib::ustring. SYNOPSIS
#include <iostring.hh> Public Member Functions operator std::string () const Use the result as a string. std::string operator+ (std::string const &that) const Use the result as a string. rostring (std::string const &fmt) Create a string with a constant format. template<typename T1 > rostring (std::string const &fmt, T1 const &a1) Create a string with one argument. template<typename T1 , typename T2 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2) Create a string with two arguments. template<typename T1 , typename T2 , typename T3 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2, T3 const &a3) Create a string with three arguments. template<typename T1 , typename T2 , typename T3 , typename T4 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4) Create a string with four arguments. template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5) Create a string with five arguments. template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6) Create a string with six arguments. template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7) Create a string with seven arguments. template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7, T8 const &a8) Create a string with eight arguments. template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 > rostring (std::string const &fmt, T1 const &a1, T2 const &a2, T3 const &a3, T4 const &a4, T5 const &a5, T6 const &a6, T7 const &a7, T8 const &a8, T9 const &a9) Create a string with nine arguments. Friends std::ostream & operator<< (std::ostream &s, rostring const &o) Send the result to an ostream. Detailed Description shevek::rostring is identical to shevek::ostring, but it uses std::string instead of Glib::ustring. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::rostring(3)
Man Page