A collection of useful C++ routines.
Go to file
Danny Robson 166b97e0c5 build: fold test makefile into primary makefile
Moving the subdir makefile into the main one lets us more easily track
dependencies for reliable builds. Previously we tended to build against
old versions of the static library when running the tests.
2015-02-16 23:38:08 +11:00
build-aux test: run all checks through the TAP driver 2014-05-23 17:11:28 +10:00
detail coord: use inherited class for data definitions 2015-01-19 19:13:52 +11:00
hash debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
json json: make include paths relative 2015-02-03 13:09:23 +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 debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
test build: fold test makefile into primary makefile 2015-02-13 18:02:09 +11:00
tools json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
types debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
.gitignore uri: add simple uri parser 2015-02-09 17:43:24 +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 bezier: add region query 2015-02-03 12:58:41 +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 json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
configure.ac build: fold test makefile into primary makefile 2015-02-13 18:02:09 +11:00
debug.cpp debug: print test message when installing console 2014-12-05 13:19:01 +11:00
debug.hpp build: fold test makefile into primary makefile 2015-02-16 23:38:08 +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: migrate to free sanity/valid 2015-02-13 17:32:08 +11:00
extent.hpp extent: migrate to free sanity/valid 2015-02-13 17:32:08 +11:00
extent.ipp extent: add typecasting member function 2015-01-13 18:30:10 +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: add more varied downsample, pgm reader 2015-02-05 20:37:07 +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
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 build: fold test makefile into primary makefile 2015-02-13 18:02:09 +11:00
maths.cpp maths: fix the ordering of limit 2015-02-05 20:37:07 +11:00
maths.hpp maths: fix the ordering of limit 2015-02-05 20:37:07 +11:00
maths.ipp maths: templatise to_{radians,degrees} 2015-02-04 15:44:03 +11:00
matrix.cpp debug: drop support for CHECK_HARD 2015-01-28 14:49:34 +11:00
matrix.hpp matrix: add scalar scaling matrix 2015-01-19 19:12:44 +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
platform.hpp Add compiler check in platform.hpp 2012-06-13 16:01:42 +10:00
point.cpp coord: move free maths func from point to vector 2015-01-28 14:59:33 +11:00
point.hpp coord: move free maths func from point to vector 2015-01-28 14:59:33 +11:00
point.ipp point: add a cast method 2015-01-19 13:27:13 +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 build: instantiate templates in declared namespace 2015-01-10 19:40:32 +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 json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
range.hpp Remove explict json constructor from range 2014-03-06 15:22:47 +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 per-axis expansion calls 2015-02-04 15:44:51 +11:00
region.hpp region: add per-axis expansion calls 2015-02-04 15:44:51 +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 Change my email to an active domain 2012-04-23 13:10:50 +10:00
signal.hpp Move signal definitions to ipp 2013-08-06 21:23:40 +10:00
signal.ipp Move signal definitions to ipp 2013-08-06 21:23:40 +10: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 json: move tree parsing code to json::tree 2015-02-02 21:26:56 +11:00
vector.hpp vector: add scalar variant of redim 2015-02-12 17:41:07 +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