Namespaces | Classes | Functions | Variables
bk_lib Namespace Reference

Namespaces

namespace  detail

Classes

class  bad_string_cast
class  indexed_priority_queue
class  left_right_sequence
 Stores two sequences in one contiguous memory block. More...
class  pod_vector
 A std::vector-replacement for POD-Types. More...

Functions

static int detectBase (const char *x)
static bool empty (const char *x, const char **errPos)
template<class T , class A >
bool operator!= (const pod_vector< T, A > &lhs, const pod_vector< T, A > &rhs)
template<class T , class A >
bool operator< (const pod_vector< T, A > &lhs, const pod_vector< T, A > &rhs)
template<class T , class A >
bool operator<= (const pod_vector< T, A > &lhs, const pod_vector< T, A > &rhs)
template<class T , class A >
bool operator== (const pod_vector< T, A > &lhs, const pod_vector< T, A > &rhs)
template<class T , class A >
bool operator> (const pod_vector< T, A > &lhs, const pod_vector< T, A > &rhs)
template<class T , class A >
bool operator>= (const pod_vector< T, A > &lhs, const pod_vector< T, A > &rhs)
static int parsed (int tok, const char *end, const char **errPos)
template<class T >
bool string_cast (const char *arg, T &to)
template<class T >
string_cast (const char *s)
template<class T >
string_cast (const std::string &s)
template<class T >
bool string_cast (const std::string &from, T &to)
template<class T , class A >
void swap (pod_vector< T, A > &lhs, pod_vector< T, A > &rhs)
template<class T >
static int xconvert (const char *x, pod_vector< T > &out, const char **errPos, int)
template<class T >
int xconvert (const char *x, T &out, const char **errPos=0, double=0)
int xconvert (const char *x, bool &out, const char **errPos=0, int=0)
int xconvert (const char *x, char &out, const char **errPos=0, int=0)
int xconvert (const char *x, unsigned &out, const char **errPos=0, int=0)
int xconvert (const char *x, int &out, const char **errPos=0, int=0)
int xconvert (const char *x, long &out, const char **errPos=0, int=0)
int xconvert (const char *x, unsigned long &out, const char **errPos=0, int=0)
int xconvert (const char *x, double &out, const char **errPos=0, int=0)
int xconvert (const char *x, const char *&out, const char **errPos=0, int=0)
int xconvert (const char *x, std::string &out, const char **errPos=0, int sep=0)
template<class T , class U >
int xconvert (const char *x, std::pair< T, U > &out, const char **errPos=0, int sep=def_sep)
template<class T >
int xconvert (const char *x, std::vector< T > &out, const char **errPos=0, int sep=def_sep)
template<class T >
int xconvert (const char *x, T *out, const char **errPos, int maxTok)

Variables

const int def_sep = int(',')

Function Documentation

static int bk_lib::detectBase ( const char *  x) [static]

Definition at line 27 of file string_convert.cpp.

static bool bk_lib::empty ( const char *  x,
const char **  errPos 
) [static]

Definition at line 35 of file string_convert.cpp.

template<class T , class A >
bool bk_lib::operator!= ( const pod_vector< T, A > &  lhs,
const pod_vector< T, A > &  rhs 
) [inline]

Definition at line 526 of file util/pod_vector.h.

template<class T , class A >
bool bk_lib::operator< ( const pod_vector< T, A > &  lhs,
const pod_vector< T, A > &  rhs 
) [inline]

Definition at line 531 of file util/pod_vector.h.

template<class T , class A >
bool bk_lib::operator<= ( const pod_vector< T, A > &  lhs,
const pod_vector< T, A > &  rhs 
) [inline]

Definition at line 541 of file util/pod_vector.h.

template<class T , class A >
bool bk_lib::operator== ( const pod_vector< T, A > &  lhs,
const pod_vector< T, A > &  rhs 
) [inline]

Definition at line 520 of file util/pod_vector.h.

template<class T , class A >
bool bk_lib::operator> ( const pod_vector< T, A > &  lhs,
const pod_vector< T, A > &  rhs 
) [inline]

Definition at line 536 of file util/pod_vector.h.

template<class T , class A >
bool bk_lib::operator>= ( const pod_vector< T, A > &  lhs,
const pod_vector< T, A > &  rhs 
) [inline]

Definition at line 546 of file util/pod_vector.h.

static int bk_lib::parsed ( int  tok,
const char *  end,
const char **  errPos 
) [static]

Definition at line 41 of file string_convert.cpp.

template<class T >
bool bk_lib::string_cast ( const char *  arg,
T &  to 
)

Definition at line 203 of file string_convert.h.

template<class T >
T bk_lib::string_cast ( const char *  s)

Definition at line 208 of file string_convert.h.

template<class T >
T bk_lib::string_cast ( const std::string &  s)

Definition at line 214 of file string_convert.h.

template<class T >
bool bk_lib::string_cast ( const std::string &  from,
T &  to 
)

Definition at line 216 of file string_convert.h.

template<class T , class A >
void bk_lib::swap ( pod_vector< T, A > &  lhs,
pod_vector< T, A > &  rhs 
) [inline]

Definition at line 551 of file util/pod_vector.h.

template<class T >
static int bk_lib::xconvert ( const char *  x,
pod_vector< T > &  out,
const char **  errPos,
int   
) [static]

Definition at line 67 of file clasp_options.cpp.

template<class T >
int bk_lib::xconvert ( const char *  x,
T &  out,
const char **  errPos = 0,
double  = 0 
)

Definition at line 183 of file string_convert.h.

int bk_lib::xconvert ( const char *  x,
bool &  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 46 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
char &  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 58 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
unsigned &  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 106 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
int &  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 115 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
long &  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 71 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
unsigned long &  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 79 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
double &  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 98 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
const char *&  out,
const char **  errPos = 0,
int  = 0 
)

Definition at line 125 of file string_convert.cpp.

int bk_lib::xconvert ( const char *  x,
std::string &  out,
const char **  errPos = 0,
int  sep = 0 
)

Definition at line 130 of file string_convert.cpp.

template<class T , class U >
int bk_lib::xconvert ( const char *  x,
std::pair< T, U > &  out,
const char **  errPos = 0,
int  sep = def_sep 
)

Definition at line 118 of file string_convert.h.

template<class T >
int bk_lib::xconvert ( const char *  x,
std::vector< T > &  out,
const char **  errPos = 0,
int  sep = def_sep 
)

Definition at line 140 of file string_convert.h.

template<class T >
int bk_lib::xconvert ( const char *  x,
T *  out,
const char **  errPos,
int  maxTok 
)

Definition at line 164 of file string_convert.h.


Variable Documentation

const int bk_lib::def_sep = int(',')

Definition at line 115 of file string_convert.h.



clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:40