Skip to content

General-purpose repository, intended as a submodule for others

License

Notifications You must be signed in to change notification settings

jpt13653903/Toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toolbox

General-purpose repository, intended as a submodule for others.

Unit Tests and Examples

  • To see usage examples, look at the Test folder.
  • To run the tests, run make test from the Test folder.

Cpp Folder

  • Calculator.cpp
  • Dictionary.cpp
  • FileWrapper.cpp
    • Abstraction for reading and writing files, as well as obtaining and modifying the various time-stamps.
  • General.cpp
    • Provides OS-independence and includes often-used standard headers.
    • Defines kiB (210) and MiB (220) constants.
    • Defines macros for standard ANSI escape sequences related to changing the console text colour.
    • Defines debug, info, warning, error and assert macros. These are syntactically identical to printf, but automatically adds colours and more information relating to the current file, line number and function name.
  • JSON.cpp
    • Abstraction for reading, manipulating and generating JSON strings. It supports parsing of JSON-5 strings, but stringifies to normal JSON.
  • LLRBTree.cpp
  • UTF_Converter.cpp
    • Utility used to convert between UTF-8 (std::string), UTF-16 (std::u16string) and UTF-32 (std::u32string).
  • XML.cpp
    • Abstraction for reading and writing XML files.

About

General-purpose repository, intended as a submodule for others

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published