librets::util Namespace Reference


Classes

struct  RetsObjectEqualTo
struct  Printer
class  OutputWrapper
struct  Printer< std::vector< X > >

Functions

bool isEmpty (std::string aString)
int find (const std::string &aString, const std::string &separators, int start_index)
std::string join (const StringVector &strings, std::string separator)
std::string join (std::string left, std::string right, std::string separator)
bool splitField (const std::string &field, const std::string &delimiter, std::string &key, std::string &value)
void readUntilEof (istreamPtr inputStream, std::ostream &outputStream)
void readIntoString (istreamPtr inputStream, std::string &aString)
std::string readIntoString (istreamPtr inputStream)
std::string urlEncode (const std::string &aString)
template<class T >
bool VectorEquals (const std::vector< T > &v1, const std::vector< T > &v2)
template<class T , typename _BinaryPredicate >
bool VectorEquals (const std::vector< T > &v1, const std::vector< T > &v2, _BinaryPredicate pred)
template<typename T >
OutputWrapper< T > Output (const T &object)

Variables

const char * WHITESPACE

Function Documentation

int librets::util::find ( const std::string &  aString,
const std::string &  separators,
int  start_index 
)

bool librets::util::isEmpty ( std::string  aString  ) 

std::string librets::util::join ( std::string  left,
std::string  right,
std::string  separator 
)

std::string librets::util::join ( const StringVector &  strings,
std::string  separator 
)

OutputWrapper<T> librets::util::Output ( const T &  object  )  [inline]

std::string librets::util::readIntoString ( istreamPtr  inputStream  ) 

void librets::util::readIntoString ( istreamPtr  inputStream,
std::string &  aString 
)

void librets::util::readUntilEof ( istreamPtr  inputStream,
std::ostream &  outputStream 
)

bool librets::util::splitField ( const std::string &  field,
const std::string &  delimiter,
std::string &  key,
std::string &  value 
)

std::string librets::util::urlEncode ( const std::string &  aString  ) 

bool librets::util::VectorEquals ( const std::vector< T > &  v1,
const std::vector< T > &  v2,
_BinaryPredicate  pred 
) [inline]

bool librets::util::VectorEquals ( const std::vector< T > &  v1,
const std::vector< T > &  v2 
) [inline]


Variable Documentation

const char* WHITESPACE


Generated by  doxygen