Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 2.66 KB

README.MD

File metadata and controls

54 lines (42 loc) · 2.66 KB

base_lib

A library I wrote myself for all my stuff. It is inspired by C# types and LINQ feature, also have something from UnrealEngine

Features

Handy implementation of 2-dimensional array

2 classes that allows you to simply operate with binary streams. Some classes may implement Serializable concept and override the process of writing and reading themselves into and from a stream. Binary stream reader and writer can determine, wether object bits should be copied into memory or custom function should be executed

Simply, a JSON alternative. Supported types are:

  • null
  • char (8 bit integer)
  • short (16 bit integer)
  • int32 (32 bit integer)
  • int64 (64 bit integer)
  • bool
  • float
  • double
  • array
  • object
  • binary data blob

This data container may be serialized into binary stream. Conversion to textual formats also possible, you can even easily implement you own converter.

Current state of Compound converters:

Comment JSON YAML XML
Parser String -> Compound::Value ✔️ Planned Planned
Formatter Compound::Value -> String ✔️ ✔️ Planned

Simple implementation of C#-like delegates in C++

Following bindings are supported:

  • global or lambda function
  • static function
  • member function

Actually a vector. Better alternative to std::vector. First of all, it have a function to remove an element by it's index... And a lot of other things.

Tree-based implementation of map.

Recommended to use when you have to often add, search and remove elements.

A map, based on a sorted key-value pair list.

Recommended to use when you have to often bypass all elements in map.

String implementation