Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
misc.hh File Reference
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "dlib/dlib.h"
Include dependency graph for misc.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lout::misc::SimpleVector< T >
 Simple (simpler than container::untyped::Vector and container::typed::Vector) template based vector. More...
 
class  lout::misc::NotSoSimpleVector< T >
 Container similar to lout::misc::SimpleVector, but some cases of insertion optimized (used for hyphenation). More...
 
class  lout::misc::StringBuffer
 A class for fast concatenation of a large number of strings. More...
 
struct  lout::misc::StringBuffer::Node
 
class  lout::misc::BitSet
 A bit set, which automatically reallocates when needed. More...
 
class  lout::misc::ZoneAllocator
 A simple allocator optimized to handle many small chunks of memory. More...
 

Namespaces

namespace  lout
 
namespace  lout::misc
 Miscellaneous stuff, which does not fit anywhere else.
 

Functions

template<class T >
lout::misc::min (T a, T b)
 
template<class T >
lout::misc::max (T a, T b)
 
template<class T >
lout::misc::min (T a, T b, T c)
 
template<class T >
lout::misc::max (T a, T b, T c)
 
void lout::misc::init (int argc, char *argv[])
 
void lout::misc::assertNotReached ()
 
void lout::misc::assertNotReached (const char *fmt,...)
 
void lout::misc::notImplemented (const char *name)
 
int lout::misc::roundInt (double d)
 
int lout::misc::AsciiTolower (char c)
 
int lout::misc::AsciiToupper (char c)
 
int lout::misc::AsciiStrcasecmp (const char *s1, const char *s2)
 
const char * lout::misc::boolToStr (bool b)