Pol  Revision:3cfda13
strutil.cpp File Reference
#include "strutil.h"
#include <boost/algorithm/string/case_conv.hpp>
#include "logfacility.h"
#include "stlutil.h"
#include "unittest.h"

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Clib
 

Functions

std::string Pol::Clib::decint (unsigned short v)
 
std::string Pol::Clib::decint (signed int v)
 
std::string Pol::Clib::decint (unsigned int v)
 
std::string Pol::Clib::decint (signed long v)
 
std::string Pol::Clib::decint (unsigned long v)
 
void Pol::Clib::decodequotedstring (std::string &str)
 
void Pol::Clib::encodequotedstring (std::string &str)
 
std::string Pol::Clib::getencodedquotedstring (const std::string &in)
 
std::string Pol::Clib::hexint (unsigned short v)
 
std::string Pol::Clib::hexint (signed int v)
 
std::string Pol::Clib::hexint (unsigned int v)
 
std::string Pol::Clib::hexint (signed long v)
 
std::string Pol::Clib::hexint (unsigned long v)
 
void Pol::Clib::mklower (std::string &str)
 
void Pol::Clib::mkupper (std::string &str)
 
void Pol::Clib::splitnamevalue (const std::string &istr, std::string &propname, std::string &propvalue)
 
std::string Pol::Clib::strlower (const std::string &str)
 
std::string Pol::Clib::strupper (const std::string &str)
 
void Pol::Clib::test_convertquotedstring ()
 
void Pol::Clib::test_dqs (const std::string &in, const std::string &out)
 
void Pol::Clib::test_splitnamevalue (const std::string &istr, const std::string &exp_pn, const std::string &exp_pv)
 
void Pol::Clib::test_splitnamevalue ()
 

Variables

UnitTest Pol::Clib::test_convertquotedstring_obj (test_convertquotedstring)
 
UnitTest Pol::Clib::test_splitnamevalue_obj (test_splitnamevalue)
 

Detailed Description

History
  • 2009/09/12 MuadDib: Disabled 4244 in this file due to it being on a string iter. Makes no sense.
  • 2014/06/10 Nando: Removed pragma that disabled 4244. (tolower()/toupper() used ints because -1 is a valid output).

Definition in file strutil.cpp.