ZenLib Namespace Reference


Classes

class  Ztring
 String manipulation (based on std::(w)string). More...
class  ZtringList
 Vector of strings manipulation (based on std::vector<std::(w)string>). More...
class  ZtringListList
 Vector of vectors of strings manipulation (based on std::vector<std::vector<std::(w)string>>). More...
class  ZtringListListF
 ZtringListList with file management. More...

Typedefs

typedef char Char
typedef signed int ints
typedef unsigned int intu
typedef std::basic_string
< Char, std::char_traits< Char >
, std::allocator< Char > > 
tstring

Enumerations

enum  ztring_t {
  Ztring_Nothing, Ztring_Rounded = 1, Ztring_CaseSensitive = 2, Ztring_AddLastItem = 4,
  Ztring_Recursive = 8, Ztring_NoZero = 16
}
 Options for Ztring methods. More...

Functions

int8s LittleEndian2int8s (const char *List)
int8u LittleEndian2int8u (const char *List)
int16s LittleEndian2int16s (const char *List)
int16u LittleEndian2int16u (const char *List)
int32s LittleEndian2int24s (const char *List)
int32u LittleEndian2int24u (const char *List)
int32s LittleEndian2int32s (const char *List)
int32u LittleEndian2int32u (const char *List)
float32 LittleEndian2float32 (const char *List)
float64 LittleEndian2float64 (const char *List)
float80 LittleEndian2float80 (const char *List)
int8s LittleEndian2int8s (const int8u *List)
int8u LittleEndian2int8u (const int8u *List)
int16s LittleEndian2int16s (const int8u *List)
int16u LittleEndian2int16u (const int8u *List)
int32s LittleEndian2int24s (const int8u *List)
int32u LittleEndian2int24u (const int8u *List)
int32s LittleEndian2int32s (const int8u *List)
int32u LittleEndian2int32u (const int8u *List)
int8s BigEndian2int8s (const char *List)
int8u BigEndian2int8u (const char *List)
int16s BigEndian2int16s (const char *List)
int16u BigEndian2int16u (const char *List)
int32s BigEndian2int24s (const char *List)
int32u BigEndian2int24u (const char *List)
int32s BigEndian2int32s (const char *List)
int32u BigEndian2int32u (const char *List)
float32 BigEndian2float32 (const char *List)
float64 BigEndian2float64 (const char *List)
float80 BigEndian2float80 (const char *List)
void int8s2BigEndian (char *List, int8s Value)
void int8u2BigEndian (char *List, int8u Value)
void int16s2BigEndian (char *List, int16s Value)
void int16u2BigEndian (char *List, int16u Value)
void int24s2BigEndian (char *List, int32s Value)
void int24u2BigEndian (char *List, int32u Value)
void int32s2BigEndian (char *List, int32s Value)
void int32u2BigEndian (char *List, int32u Value)
void float322BigEndian (char *List, float32 Value)
void float642BigEndian (char *List, float64 Value)
void float802BigEndian (char *List, float80 Value)
int8s BigEndian2int8s (const int8u *List)
int8u BigEndian2int8u (const int8u *List)
int16s BigEndian2int16s (const int8u *List)
int16u BigEndian2int16u (const int8u *List)
int32s BigEndian2int32s (const int8u *List)
int32u BigEndian2int24u (const int8u *List)
int32s BigEndian2int24s (const int8u *List)
int32u BigEndian2int32u (const int8u *List)
float32 BigEndian2float32 (const int8u *List)
float64 BigEndian2float64 (const int8u *List)
float80 BigEndian2float80 (const int8u *List)
void int8s2BigEndian (int8u *List, int8s Value)
void int8u2BigEndian (int8u *List, int8u Value)
void int16s2BigEndian (int8u *List, int16s Value)
void int16u2BigEndian (int8u *List, int16u Value)
void int24s2BigEndian (int8u *List, int32s Value)
void int24u2BigEndian (int8u *List, int32u Value)
void int32s2BigEndian (int8u *List, int32s Value)
void int32u2BigEndian (int8u *List, int32u Value)
void float322BigEndian (int8u *List, float32 Value)
void float642BigEndian (int8u *List, float64 Value)
void float802BigEndian (int8u *List, float80 Value)
int64s int32s_int64s (int32s High, int32u Low)
int64u int32u_int64u (int32u High, int32u Low)
void int32s_int64s (int64s &BigInt, int32s High, int32u Low)
void int32u_int64u (int64s &BigInt, int32u High, int32u Low)
void int64s_int32s (int64s BigInt, int32s &High, int32u &Low)
void int64u_int32u (int64u BigInt, int32u &High, int32u &Low)
int32s float32_int32s (float32 F, bool Rounded=true)
int64s float32_int64s (float32 F, bool Rounded=true)
int32s float64_int32s (float64 F, bool Rounded=true)
int64s float64_int64s (float64 F, bool Rounded=true)
float32 int64u_float32 (int64u v)
float64 int64u_float64 (int64u v)
int64u CC8 (const char *C)
int64u CC7 (const char *C)
int64u CC6 (const char *C)
int64u CC5 (const char *C)
int32u CC4 (const char *C)
int32u CC3 (const char *C)
int16u CC2 (const char *C)
int8u CC1 (const char *C)
int64u CC8 (const int8u *C)
int64u CC7 (const int8u *C)
int64u CC6 (const int8u *C)
int64u CC5 (const int8u *C)
int32u CC4 (const int8u *C)
int32u CC3 (const int8u *C)
int16u CC2 (const int8u *C)
int8u CC1 (const int8u *C)

Variables

const std::size_t Error = ((std::size_t)(-1))
const std::size_t All = ((std::size_t)(-1))
const std::size_t Unlimited = ((std::size_t)(-1))
const CharEOL


Typedef Documentation

typedef char ZenLib::Char

typedef signed int ZenLib::ints

typedef unsigned int ZenLib::intu

typedef std::basic_string<Char, std::char_traits<Char>, std::allocator<Char> > ZenLib::tstring


Enumeration Type Documentation

Options for Ztring methods.

Enumerator:
Ztring_Nothing 
Ztring_Rounded  if >.5, upper, else lower
Ztring_CaseSensitive  Case sensitive ("A" and "a" are different).
Ztring_AddLastItem  if Begin is found and End is not found, return between Begin and end of string
Ztring_Recursive  Do all strings.
Ztring_NoZero 


Function Documentation

float32 ZenLib::BigEndian2float32 ( const int8u *  List  )  [inline]

References BigEndian2float32().

float32 ZenLib::BigEndian2float32 ( const char *  List  ) 

Referenced by BigEndian2float32().

float64 ZenLib::BigEndian2float64 ( const int8u *  List  )  [inline]

References BigEndian2float64().

float64 ZenLib::BigEndian2float64 ( const char *  List  ) 

Referenced by BigEndian2float64().

float80 ZenLib::BigEndian2float80 ( const int8u *  List  )  [inline]

References BigEndian2float80().

float80 ZenLib::BigEndian2float80 ( const char *  List  ) 

Referenced by BigEndian2float80().

int16s ZenLib::BigEndian2int16s ( const int8u *  List  )  [inline]

References BigEndian2int16s().

int16s ZenLib::BigEndian2int16s ( const char *  List  ) 

Referenced by BigEndian2int16s().

int16u ZenLib::BigEndian2int16u ( const int8u *  List  )  [inline]

References BigEndian2int16u().

int16u ZenLib::BigEndian2int16u ( const char *  List  ) 

Referenced by BigEndian2int16u(), and CC2().

int32s ZenLib::BigEndian2int24s ( const int8u *  List  )  [inline]

References BigEndian2int24s().

int32s ZenLib::BigEndian2int24s ( const char *  List  ) 

Referenced by BigEndian2int24s().

int32u ZenLib::BigEndian2int24u ( const int8u *  List  )  [inline]

References BigEndian2int24u().

int32u ZenLib::BigEndian2int24u ( const char *  List  ) 

Referenced by BigEndian2int24u(), and CC3().

int32s ZenLib::BigEndian2int32s ( const int8u *  List  )  [inline]

References BigEndian2int32s().

int32s ZenLib::BigEndian2int32s ( const char *  List  ) 

Referenced by BigEndian2int32s().

int32u ZenLib::BigEndian2int32u ( const int8u *  List  )  [inline]

References BigEndian2int32u().

int32u ZenLib::BigEndian2int32u ( const char *  List  ) 

Referenced by BigEndian2int32u(), and CC4().

int8s ZenLib::BigEndian2int8s ( const int8u *  List  )  [inline]

References BigEndian2int8s().

int8s ZenLib::BigEndian2int8s ( const char *  List  ) 

Referenced by BigEndian2int8s().

int8u ZenLib::BigEndian2int8u ( const int8u *  List  )  [inline]

References BigEndian2int8u().

int8u ZenLib::BigEndian2int8u ( const char *  List  ) 

Referenced by BigEndian2int8u(), and CC1().

int8u ZenLib::CC1 ( const int8u *  C  )  [inline]

References BigEndian2int8u().

int8u ZenLib::CC1 ( const char *  C  )  [inline]

References BigEndian2int8u().

int16u ZenLib::CC2 ( const int8u *  C  )  [inline]

References BigEndian2int16u().

int16u ZenLib::CC2 ( const char *  C  )  [inline]

References BigEndian2int16u().

int32u ZenLib::CC3 ( const int8u *  C  )  [inline]

References BigEndian2int24u().

int32u ZenLib::CC3 ( const char *  C  )  [inline]

References BigEndian2int24u().

int32u ZenLib::CC4 ( const int8u *  C  )  [inline]

References BigEndian2int32u().

int32u ZenLib::CC4 ( const char *  C  )  [inline]

References BigEndian2int32u().

int64u ZenLib::CC5 ( const int8u *  C  )  [inline]

int64u ZenLib::CC5 ( const char *  C  )  [inline]

int64u ZenLib::CC6 ( const int8u *  C  )  [inline]

int64u ZenLib::CC6 ( const char *  C  )  [inline]

int64u ZenLib::CC7 ( const int8u *  C  )  [inline]

int64u ZenLib::CC7 ( const char *  C  )  [inline]

int64u ZenLib::CC8 ( const int8u *  C  )  [inline]

int64u ZenLib::CC8 ( const char *  C  )  [inline]

void ZenLib::float322BigEndian ( int8u *  List,
float32  Value 
) [inline]

References float322BigEndian().

void ZenLib::float322BigEndian ( char *  List,
float32  Value 
)

Referenced by float322BigEndian().

int32s ZenLib::float32_int32s ( float32  F,
bool  Rounded = true 
)

int64s ZenLib::float32_int64s ( float32  F,
bool  Rounded = true 
)

void ZenLib::float642BigEndian ( int8u *  List,
float64  Value 
) [inline]

References float642BigEndian().

void ZenLib::float642BigEndian ( char *  List,
float64  Value 
)

Referenced by float642BigEndian().

int32s ZenLib::float64_int32s ( float64  F,
bool  Rounded = true 
)

int64s ZenLib::float64_int64s ( float64  F,
bool  Rounded = true 
)

void ZenLib::float802BigEndian ( int8u *  List,
float80  Value 
) [inline]

References float802BigEndian().

void ZenLib::float802BigEndian ( char *  List,
float80  Value 
)

Referenced by float802BigEndian().

void ZenLib::int16s2BigEndian ( int8u *  List,
int16s  Value 
) [inline]

References int16s2BigEndian().

void ZenLib::int16s2BigEndian ( char *  List,
int16s  Value 
)

Referenced by int16s2BigEndian().

void ZenLib::int16u2BigEndian ( int8u *  List,
int16u  Value 
) [inline]

References int16u2BigEndian().

void ZenLib::int16u2BigEndian ( char *  List,
int16u  Value 
)

Referenced by int16u2BigEndian().

void ZenLib::int24s2BigEndian ( int8u *  List,
int32s  Value 
) [inline]

References int24s2BigEndian().

void ZenLib::int24s2BigEndian ( char *  List,
int32s  Value 
)

Referenced by int24s2BigEndian().

void ZenLib::int24u2BigEndian ( int8u *  List,
int32u  Value 
) [inline]

References int24u2BigEndian().

void ZenLib::int24u2BigEndian ( char *  List,
int32u  Value 
)

Referenced by int24u2BigEndian().

void ZenLib::int32s2BigEndian ( int8u *  List,
int32s  Value 
) [inline]

References int32s2BigEndian().

void ZenLib::int32s2BigEndian ( char *  List,
int32s  Value 
)

Referenced by int32s2BigEndian().

void ZenLib::int32s_int64s ( int64s &  BigInt,
int32s  High,
int32u  Low 
)

int64s ZenLib::int32s_int64s ( int32s  High,
int32u  Low 
)

void ZenLib::int32u2BigEndian ( int8u *  List,
int32u  Value 
) [inline]

References int32u2BigEndian().

void ZenLib::int32u2BigEndian ( char *  List,
int32u  Value 
)

Referenced by int32u2BigEndian().

void ZenLib::int32u_int64u ( int64s &  BigInt,
int32u  High,
int32u  Low 
)

int64u ZenLib::int32u_int64u ( int32u  High,
int32u  Low 
)

void ZenLib::int64s_int32s ( int64s  BigInt,
int32s &  High,
int32u &  Low 
)

float32 ZenLib::int64u_float32 ( int64u  v  )  [inline]

float64 ZenLib::int64u_float64 ( int64u  v  )  [inline]

void ZenLib::int64u_int32u ( int64u  BigInt,
int32u &  High,
int32u &  Low 
)

void ZenLib::int8s2BigEndian ( int8u *  List,
int8s  Value 
) [inline]

References int8s2BigEndian().

void ZenLib::int8s2BigEndian ( char *  List,
int8s  Value 
)

Referenced by int8s2BigEndian().

void ZenLib::int8u2BigEndian ( int8u *  List,
int8u  Value 
) [inline]

References int8u2BigEndian().

void ZenLib::int8u2BigEndian ( char *  List,
int8u  Value 
)

Referenced by int8u2BigEndian().

float32 ZenLib::LittleEndian2float32 ( const char *  List  ) 

float64 ZenLib::LittleEndian2float64 ( const char *  List  ) 

float80 ZenLib::LittleEndian2float80 ( const char *  List  ) 

int16s ZenLib::LittleEndian2int16s ( const int8u *  List  )  [inline]

References LittleEndian2int16s().

int16s ZenLib::LittleEndian2int16s ( const char *  List  ) 

Referenced by LittleEndian2int16s().

int16u ZenLib::LittleEndian2int16u ( const int8u *  List  )  [inline]

References LittleEndian2int16u().

int16u ZenLib::LittleEndian2int16u ( const char *  List  ) 

Referenced by LittleEndian2int16u().

int32s ZenLib::LittleEndian2int24s ( const int8u *  List  )  [inline]

References LittleEndian2int24s().

int32s ZenLib::LittleEndian2int24s ( const char *  List  ) 

Referenced by LittleEndian2int24s().

int32u ZenLib::LittleEndian2int24u ( const int8u *  List  )  [inline]

References LittleEndian2int24u().

int32u ZenLib::LittleEndian2int24u ( const char *  List  ) 

Referenced by LittleEndian2int24u().

int32s ZenLib::LittleEndian2int32s ( const int8u *  List  )  [inline]

References LittleEndian2int32s().

int32s ZenLib::LittleEndian2int32s ( const char *  List  ) 

Referenced by LittleEndian2int32s().

int32u ZenLib::LittleEndian2int32u ( const int8u *  List  )  [inline]

References LittleEndian2int32u().

int32u ZenLib::LittleEndian2int32u ( const char *  List  ) 

Referenced by LittleEndian2int32u().

int8s ZenLib::LittleEndian2int8s ( const int8u *  List  )  [inline]

References LittleEndian2int8s().

int8s ZenLib::LittleEndian2int8s ( const char *  List  ) 

Referenced by LittleEndian2int8s().

int8u ZenLib::LittleEndian2int8u ( const int8u *  List  )  [inline]

References LittleEndian2int8u().

int8u ZenLib::LittleEndian2int8u ( const char *  List  ) 

Referenced by LittleEndian2int8u().


Variable Documentation

const std::size_t ZenLib::All = ((std::size_t)(-1))

const Char* ZenLib::EOL

const std::size_t ZenLib::Error = ((std::size_t)(-1))

const std::size_t ZenLib::Unlimited = ((std::size_t)(-1))


Generated on Fri Apr 3 10:40:58 2009 for ZenLib by  doxygen 1.5.5