dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

lout::misc Namespace Reference

Miscellaneous stuff, which does not fit anywhere else. More...

Classes

class  BitSet
 A bit set, which automatically reallocates when needed. More...
 
class  NotSoSimpleVector
 Container similar to lout::misc::SimpleVector, but some cases of insertion optimized (used for hyphenation). More...
 
class  SimpleVector
 Simple (simpler than container::untyped::Vector and container::typed::Vector) template based vector. More...
 
class  StringBuffer
 A class for fast concatenation of a large number of strings. More...
 
class  ZoneAllocator
 A simple allocator optimized to handle many small chunks of memory. The chunks can not be free'd individually. Instead the whole zone must be free'd with zoneFree(). More...
 

Functions

void init (int argc, char *argv[])
 
template<class T >
min (T a, T b)
 
template<class T >
max (T a, T b)
 
template<class T >
min (T a, T b, T c)
 
template<class T >
max (T a, T b, T c)
 
void assertNotReached ()
 
int roundInt (double d)
 
int AsciiTolower (char c)
 
int AsciiToupper (char c)
 
int AsciiStrcasecmp (const char *s1, const char *s2)
 

Variables

const char * prgName = PACKAGE "/" VERSION
 

Detailed Description

Miscellaneous stuff, which does not fit anywhere else.

Actually, the other parts, beginning with ::object, depend on this.

Function Documentation

◆ AsciiStrcasecmp()

int lout::misc::AsciiStrcasecmp ( const char *  s1,
const char *  s2 
)
inline

Definition at line 56 of file misc.hh.

References AsciiTolower().

Referenced by dw::fltk::strstrip().

◆ AsciiTolower()

int lout::misc::AsciiTolower ( char  c)
inline

Definition at line 46 of file misc.hh.

Referenced by AsciiStrcasecmp(), and dw::core::style::strAsciiTolower().

◆ AsciiToupper()

int lout::misc::AsciiToupper ( char  c)
inline

Definition at line 51 of file misc.hh.

◆ assertNotReached()

◆ init()

void lout::misc::init ( int  argc,
char *  argv[] 
)

◆ max() [1/2]

template<class T >
T lout::misc::max ( a,
b 
)
inline

◆ max() [2/2]

template<class T >
T lout::misc::max ( a,
b,
c 
)
inline

Definition at line 26 of file misc.hh.

References max().

◆ min() [1/2]

◆ min() [2/2]

template<class T >
T lout::misc::min ( a,
b,
c 
)
inline

Definition at line 22 of file misc.hh.

References min().

◆ roundInt()

Variable Documentation

◆ prgName

const char * lout::misc::prgName = PACKAGE "/" VERSION

Definition at line 33 of file misc.cc.

Referenced by assertNotReached(), and init().