Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions
convert.h File Reference

Declaration of miscellaneous convertion functions. More...

#include <cstring>
#include <string>
#include <vector>
#include <iomanip>
#include <iostream>
#include <stdio.h>
#include <sys/stat.h>
#include "address.h"
#include "depot.h"
Include dependency graph for convert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  BincStream
 

Namespaces

namespace  Binc
 

Functions

std::string toString (int i_in)
 
std::string toString (unsigned int i_in)
 
std::string toString (unsigned long i_in)
 
std::string toString (const char *i_in)
 
int atoi (const std::string &s_in)
 
std::string toHex (const std::string &s)
 
std::string fromHex (const std::string &s)
 
std::string toImapString (const std::string &s_in)
 
void uppercase (std::string &input)
 
void lowercase (std::string &input)
 
void chomp (std::string &s_in, const std::string &chars=" \t\r\n")
 
void trim (std::string &s_in, const std::string &chars=" \t\r\n")
 
const std::string unfold (const std::string &a, bool removecomment=true)
 
void split (const std::string &s_in, const std::string &delim, std::vector< std::string > &dest, bool skipempty=true)
 
void splitAddr (const std::string &s_in, std::vector< std::string > &dest, bool skipempty=true)
 
std::string toCanonMailbox (const std::string &s_in)
 
std::string toRegex (const std::string &s_in, char delimiter)
 

Detailed Description

Declaration of miscellaneous convertion functions.


Author
Andreas Aardal Hanssen

@date 2002-2005

Definition in file convert.h.