A collection of useful C++ routines.
Go to file
2015-01-10 20:08:07 +11:00
build-aux test: run all checks through the TAP driver 2014-05-23 17:11:28 +10:00
detail coord: add single element constructor 2014-12-30 01:28:17 +11:00
hash adler: fix c-style cast without const error 2014-10-20 12:55:59 +11:00
m4 Add missing m4 files 2013-09-18 16:58:16 +10:00
maths maths: matrix.is_magic should check for integers 2014-07-07 15:21:17 +10:00
net socket: explain and relax type casting requirement 2014-12-05 13:21:40 +11:00
noise parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
test rand: remove narrowing cast warning in test 2014-12-16 15:29:26 +11:00
tools tools: don't print input data for hash 2014-09-11 15:44:16 +10:00
types types: add is_lossless_cast trait query 2014-07-15 19:51:42 +10:00
.gitignore Move json utilities to tools directory 2014-05-09 12:58:33 +10:00
backtrace_execinfo.cpp copyright headers and date bumps 2014-09-17 18:20:28 +10: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
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 colour: use floats for values 2014-12-16 15:12:44 +11:00
colour.hpp colour: use floats for values 2014-12-16 15:12:44 +11:00
configure.ac build: don't test warning support on GCC 2015-01-10 20:06:34 +11:00
debug.cpp debug: print test message when installing console 2014-12-05 13:19:01 +11:00
debug.hpp remove annotations header 2014-10-17 19:24:53 +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 Place util exceptions in the util namespace 2012-05-16 15:01:01 +10: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: aspect should return float 2014-12-19 18:29:12 +11:00
extent.hpp extent: aspect should return float 2014-12-19 18:29:12 +11:00
fixed.cpp build: instantiate templates in declared namespace 2015-01-10 19:40:32 +11:00
fixed.hpp fixed: add accessor for raw int values 2014-12-05 13:20:23 +11:00
float.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
float.hpp Categorise functionality from types.hpp 2012-05-25 15:19:07 +10: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
fwd.hpp Change my email to an active domain 2012-04-23 13:10:50 +10: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 build: remove useless cast warnings 2014-07-02 15:47:53 +10:00
image.hpp image: update copyright dates 2014-06-29 22:50:59 +10: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 build: instantiate templates in declared namespace 2015-01-10 19:40:32 +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
json.cpp.rl json: serialisation/instantiation from size_t 2014-09-01 16:25:24 +10:00
json.hpp json: serialisation/instantiation from size_t 2014-09-01 16:25:24 +10:00
lerp.cpp Check weight is within bounds for quintic lerp 2012-05-22 14:12:30 +10:00
lerp.hpp Add trun, cubic, and quintic lerp methods 2012-05-17 14:17:42 +10:00
log.cpp log: allow lowercase LOG_LEVEL values 2014-09-11 15:33:46 +10: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 io: move mapped_file to platform subfiles 2014-12-19 18:28:50 +11:00
maths.cpp copyright headers and date bumps 2014-09-17 18:20:28 +10:00
maths.hpp parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
maths.ipp maths: rename divup to align 2014-09-01 16:26:01 +10:00
matrix.cpp matrix: add rotate implementation 2014-12-30 01:32:02 +11:00
matrix.hpp parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +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 point: add static const member ORIGIN 2015-01-05 18:08:20 +11:00
point.hpp build: instantiate templates in declared namespace 2015-01-10 19:40:32 +11:00
point.ipp point: templatise distance functions 2014-12-19 14:59:16 +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 Remove explict json constructor from range 2014-03-06 15:22:47 +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 parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
region.hpp parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +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
time.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
time.hpp Add period query class 2013-09-20 17:33:08 +10:00
types.hpp types: remove internal make_unique implementation 2014-12-16 15:29:49 +11:00
vector.cpp parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
vector.hpp vector: fix vector4f to actually use 4 components 2015-01-05 18:08:34 +11:00
version.cpp.rl Explicitly clear accumulator before parsing 2014-03-03 14:35:28 +11:00
version.hpp Reconstruct version type as a struct 2013-08-05 21:46:31 +10: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