GithubHelp home page GithubHelp logo

rgyger / ict Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intrig/ict

0.0 0.0 0.0 361 KB

Intrig C++ Toolkit

License: MIT License

CMake 1.00% C++ 98.05% Makefile 0.43% C 0.16% Batchfile 0.35%

ict's Introduction

Intrig C++ Tools

ict is a small set of openly available reusable components originally developed and used by Intrig for its next-generation message decoding engine.

The goal of ict is to provide useful independent components with a natural, simple interface enabling you to concentrate on your task at hand, not wrestle with the tools you are using. The only dependency is the standard template library.

The header files contain the complete implementation so you will not need to compile any source files. ict is released under the permissive MIT license.

Initially, two components are available, with more to come: ict::bitstring and ict::multivector. Below is a brief description and links to their respective documentation.

Everything here is a work in progress. There are definitely gaps in the features provided. We tend to only implement the functionality we need. Hopefully you will find ways to contribute the things you need also.

The intended use is for you to add ict as a submodule to your projects include directory. From time to time, you can then update when new features are added. However, strict backward compatibility is not a priority for ict development and the release version will indicate if anything has changed.

ict::bitstring

A bitstring provides a way to access arbitrarily sized data at a bit level. Bitstrings smaller than 64 bits require no memory allocation. Functions are provided to convert bitstrings to and from ASCII hex or binary strings and integers. Corresponding input and output streams for bits are provided with ict::ibitstream and ict::obitstream. This enables you to easily dissect or catenate bitstrings without being concerned with byte alignment.

ict::bitstring tutorial and reference

ict::multivector

A multivector is a generic container that behaves just like a std::vector except its iterators also behave just like std::vector. And since std::vector is used in the underlying representation, we can make heirarchies that benefit from both cache friendly locality of reference and C++11 move semantics.

ict::multivector tutorial and reference

Building unit tests

Although using the tools does not require any source files, running the unit tests does. Just type make at the top level to invoke the cmake based build system. And make test will run the unit tests.

ict's People

Contributors

intrig avatar wythe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.