librets/util.h File Reference

(Internal) Contains utilities. More...

#include <vector>
#include <locale>
#include "librets/std_forward.h"
#include "librets/RetsObject.h"


Classes

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

Namespaces

namespace  librets
 The main librets namespace.
namespace  librets::util

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


Detailed Description

(Internal) Contains utilities.


Generated by  doxygen