A collection of useful C++ routines.
Go to file
2015-03-11 16:27:37 +11:00
build-aux build: bump tap-driver 2015-03-02 00:05:09 +11:00
coord coord/ops: comments 2015-03-07 03:18:32 +11:00
hash hash/hmac: instantiate in containing namespace 2015-03-06 02:02:27 +11:00
json j/tree: add as_{uint,float,double} 2015-02-16 23:38:08 +11:00
m4 build: trap on signed wraparound 2015-02-09 13:13:17 +11:00
maths maths: remove now redundant polynomial code 2015-01-29 15:41:40 +11:00
net debug: use newer CHECK macros 2015-01-30 17:36:35 +11:00
noise coord: move operators out of subclasses 2015-03-06 01:09:58 +11:00
test signal: add return value combiners 2015-03-10 22:52:38 +11:00
tools json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
types traits: add func_traits for return types 2015-03-10 22:52:17 +11:00
.gitignore uri: add simple uri parser 2015-02-09 17:43:24 +11:00
aabb.cpp aabb: instance the class in util namespace 2015-03-10 16:20:12 +11:00
aabb.hpp aabb: initial stub 2015-03-07 03:16:57 +11:00
backtrace_execinfo.cpp debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
backtrace_null.cpp Clean unused variable warning 2013-08-05 16:36:29 +10:00
backtrace_win32.cpp Initial framework for win32 backtrace 2012-05-10 16:54:47 +10:00
backtrace.hpp copyright headers and date bumps 2014-09-17 18:20:28 +10:00
bezier.cpp coord: move operators out of subclasses 2015-03-06 01:09:58 +11:00
bezier.hpp bezier: add region query 2015-02-03 12:58:41 +11:00
bitwise.cpp bitwise: use lookup table for byte reverse 2014-09-01 16:23:46 +10:00
bitwise.hpp bitwise: add bit reverse operation 2014-07-15 19:49:29 +10:00
colour.cpp json: move tree parsing code to json::tree 2015-02-02 21:26:56 +11:00
colour.hpp coord: split coord header into components 2015-03-06 01:46:01 +11:00
configure.ac build: fold test makefile into primary makefile 2015-02-13 18:02:09 +11:00
coord.hpp coord: split coord header into components 2015-03-06 01:46:01 +11:00
debug.cpp debug: print test message when installing console 2014-12-05 13:19:01 +11:00
debug.hpp extent/region: update to use size parameters 2015-03-03 04:13:29 +11:00
Doxyfile.in Disable latex doxygen output 2013-08-05 16:36:15 +10:00
endian.cpp endian: complete reimplementation 2014-07-15 19:44:39 +10:00
endian.hpp endian: avoid directly byteswapping signed ints 2015-01-10 20:08:07 +11:00
except.cpp debug: use newer CHECK macros 2015-01-30 17:36:35 +11:00
except.hpp Correct exception namespacing for Windows header 2012-05-17 14:16:09 +10:00
exe.cpp Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
exe.hpp Add exe querying routines 2012-04-30 11:51:11 +10:00
extent.cpp extent,region: instantiation for 3d types 2015-03-06 17:52:40 +11:00
extent.hpp coord: split coord header into components 2015-03-06 01:46:01 +11:00
extent.ipp extent: derive from generic coord class 2015-03-03 19:43:09 +11:00
fixed.cpp fixed: add signed supported 2015-02-06 20:01:26 +11:00
fixed.hpp fixed: add signed supported 2015-02-06 20:01:26 +11:00
float.cpp float: correctly handle double comparisons 2015-02-03 15:54:55 +11:00
float.hpp float: almost_equal takes unsigned ULPs 2015-01-29 15:44:30 +11:00
fourcc.cpp build: convert c-style cast to c++ style 2014-07-02 15:42:25 +10:00
fourcc.hpp Move fourcc into seperate files 2012-11-09 15:11:02 +11:00
gcc.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
guid.cpp guid: ensure unsigned maths for shifting 2014-07-02 15:48:13 +10:00
guid.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
hash.cpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
hash.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
image.cpp image: use windows friendly path string accessor 2015-02-18 02:32:29 +11:00
image.hpp image: add value_type typedef 2015-02-06 13:52:44 +11:00
io_posix.cpp style 2015-01-07 16:00:12 +11:00
io_posix.hpp io: move mapped_file to platform subfiles 2014-12-19 18:28:50 +11:00
io_win32.cpp mapped_file: remove win32 debug output 2015-01-07 16:00:25 +11:00
io_win32.hpp io: move mapped_file to platform subfiles 2014-12-19 18:28:50 +11:00
io.cpp debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
io.hpp io: templatise write on output data type 2014-12-30 18:37:36 +11:00
io.ipp io: move identer ostream to util namespace 2014-08-01 20:43:51 +10:00
ip.cpp.rl sign_cast to avoid char-to-uint warning 2012-06-13 16:01:42 +10:00
ip.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
iterator.hpp iterator: avoid ignored const on reference 2015-01-10 20:07:39 +11:00
lerp.cpp maths: seperate float and double PI 2015-01-21 23:40:13 +11:00
lerp.hpp Add trun, cubic, and quintic lerp methods 2012-05-17 14:17:42 +10:00
line.cpp line: use aabb for box intersect 2015-03-07 03:19:48 +11:00
line.hpp line: use aabb for box intersect 2015-03-07 03:19:48 +11:00
log.cpp log: mitigate unused variable in release 2015-01-21 23:40:13 +11:00
log.hpp Add scoped_logger from waif 2013-03-05 21:38:51 +11:00
log.ipp Dont use include guard for ipp, use include errors 2012-11-09 15:17:32 +11:00
Makefile.am aabb: initial stub 2015-03-07 03:16:57 +11:00
maths.cpp maths: fix the ordering of limit 2015-02-05 20:37:07 +11:00
maths.hpp coord/ops: add max/min vector and element 2015-03-06 17:52:25 +11:00
maths.ipp maths: templatise to_{radians,degrees} 2015-02-04 15:44:03 +11:00
matrix.cpp matrix: use GLMs implementation of 4x4 inversion 2015-02-19 13:29:16 +11:00
matrix.hpp matrix: add type cast function 2015-02-19 13:29:16 +11:00
matrix.ipp matrix: add type cast function 2015-02-19 13:29:16 +11:00
memory.cpp Add a simple malloc/free unique pointer. 2012-04-26 18:16:33 +10:00
memory.hpp Rename scoped_malloc::data to ::get 2012-05-11 12:19:06 +10:00
nocopy.hpp nocopy: explicitly delete move construct/assign 2014-12-19 14:58:13 +11:00
noise.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
noise.hpp Move noise functions into their own directory 2012-05-23 17:01:30 +10:00
options.cpp options: catch execption by reference 2015-01-10 20:07:25 +11:00
options.hpp options: instantiate valueoptions privately 2014-10-21 21:47:10 +11:00
pascal.cpp pascal: move ostream operators to util namespace 2014-09-01 16:26:47 +10:00
pascal.hpp pascal: move ostream operators to util namespace 2014-09-01 16:26:47 +10:00
plane.cpp plane: add trivial plane type 2015-02-19 13:29:16 +11:00
plane.hpp plane: add trivial plane type 2015-02-19 13:29:16 +11:00
platform.hpp Add compiler check in platform.hpp 2012-06-13 16:01:42 +10:00
point.cpp point: add from function 2015-03-07 03:20:07 +11:00
point.hpp point: add from function 2015-03-07 03:20:07 +11:00
point.ipp point: add homogenous redim 2015-02-19 13:29:16 +11:00
polynomial.cpp polynomial: support eval on arbitrary types 2015-01-29 15:41:40 +11:00
polynomial.hpp polynomial: support eval on arbitrary types 2015-01-29 15:41:40 +11:00
polynomial.ipp polynomial: support eval on arbitrary types 2015-01-29 15:41:40 +11:00
pool.cpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
pool.hpp pool: use size_t for allocated sizes 2014-12-31 19:07:25 +11:00
pool.ipp pool: use size_t for allocated sizes 2014-12-31 19:07:25 +11:00
preprocessor.hpp Rename CONCAT to PASTE and add STRINGIFY 2012-05-11 12:19:36 +10:00
quaternion.cpp coord: move operators out of subclasses 2015-03-06 01:09:58 +11:00
quaternion.hpp parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
raii.hpp Add sectioning comments 2014-02-12 17:04:48 +11:00
random.cpp Add an instantation for random boolean 2013-07-30 14:28:22 +10:00
random.hpp Add choose implementation for fixed size arrays 2013-08-06 12:24:00 +10:00
random.ipp Dont use include guard for ipp, use include errors 2012-11-09 15:17:32 +11:00
range.cpp range: add interpolation accessor 2015-03-11 16:27:37 +11:00
range.hpp range: add interpolation accessor 2015-03-11 16:27:37 +11:00
range.ipp range: templatise normalise methods return type 2015-02-17 16:19:22 +11:00
rational.cpp rational: add invert, inverse, div, and mul 2014-10-20 12:56:28 +11:00
rational.hpp rational: add invert, inverse, div, and mul 2014-10-20 12:56:28 +11:00
region.cpp region: add calls to debug::sanity 2015-03-07 03:20:28 +11:00
region.hpp coord: split coord header into components 2015-03-06 01:46:01 +11:00
si.cpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
si.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
signal.cpp signal: simplify unneeded signal elements 2015-02-18 02:35:05 +11:00
signal.hpp signal: add return value combiners 2015-03-10 22:52:38 +11:00
signal.ipp signal: add return value combiners 2015-03-10 22:52:38 +11:00
stats.cpp Instance a stats accumulator for uint64_t 2012-08-07 18:35:00 +10:00
stats.hpp Expose a reset method for stats accumulator 2012-08-07 18:34:36 +10:00
stream.cpp stream: add stream bit printing object 2014-07-15 19:50:08 +10:00
stream.hpp stream: add stream bit printing object 2014-07-15 19:50:08 +10:00
string.cpp Fix type warnings 2013-08-05 16:42:58 +10:00
string.hpp Fix type warnings 2013-08-05 16:42:58 +10:00
stringid.cpp stringid: use boost threads for windows support 2014-12-05 13:22:48 +11:00
stringid.hpp add stringid for mapping between strings and ints 2014-05-26 17:11:07 +10:00
tap.hpp tap: add rudimentary TAP helpers 2015-01-29 15:49:57 +11:00
time.cpp debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
time.hpp time: use floats for seconds 2015-01-19 19:11:41 +11:00
types.hpp types: remove internal make_unique implementation 2014-12-16 15:29:49 +11:00
uri.cpp.rl uri: turn off parser tracing 2015-02-11 16:43:27 +11:00
uri.hpp view: extract span class into standalone class 2015-02-11 16:18:43 +11:00
vector.cpp coord: move operators out of subclasses 2015-03-06 01:09:58 +11:00
vector.hpp coord: split coord header into components 2015-03-06 01:46:01 +11:00
vector.ipp vector: add scalar variant of redim 2015-02-12 17:41:07 +11:00
version.cpp.rl debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
version.hpp Reconstruct version type as a struct 2013-08-05 21:46:31 +10:00
view.cpp view: add equality operators 2015-02-11 16:43:27 +11:00
view.hpp view: add equality operators 2015-02-11 16:43:27 +11:00
zlib.cpp Fix use of long types in 32bit zlib wrapper 2013-08-05 16:40:15 +10:00
zlib.hpp Define the templated zlib error constructor 2013-07-30 01:42:12 +10:00