utils 0.1.9

Some misc. functions and classes for D


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

utils

Some misc. functions and classes for D, that I frequently use in my other packages

utils.baseconv

A module contaning some functions to convert between Hex, Binary, and Denary

utils.lists

Contains classes related to arrays. It includes:

  • List - to store data in dynamic arrays where length will be varying very often.
  • LinkedList - a Linked List implementation with search (hasElement), and "bookmarks"
  • Stack - a stack implementation, especially designed for use in QScript. Works similar to Linked List, not using dynamic arrays
  • LogList - used in qui's LogWidget, used to store "logs" for displaying, in a way that older logs are over-written, as they wont be displayed. For storing the actual logs, use some other list.
  • FileReader - a (useless) file reader, but I needed this for some project of mine, where I had to read number of bytes from in-between files.
  • TreeNode and TreeReader - used to store and read a Tree, but doesnt allow "loops" inside the tree (a child node cannot have a parent node, or parent's parent node.. as its child)

utils.misc

Contains some misc. functions, mostly for dealing with dynamic arrays

Authors:
Nafees
Dependencies:
none
Versions:
0.1.9 2018-Feb-14
0.1.8 2018-Jan-19
0.1.7 2017-Aug-29
0.1.6 2017-Jul-08
0.1.5 2017-Jun-23
Show all 11 versions
Download Stats:
  • 0 downloads today

  • 2 downloads this week

  • 11 downloads this month

  • 62 downloads total