jalilweb.com

You are here: Home
  • Decrease font size
  • Default font size
  • Increase font size
STLPLUS: open source extension of c++ standard template library Print E-mail
Written by Jalil   
Saturday, 15 March 2008

If you ever needed a C++ library that extends on the standard template library and provides more advanced containers, then STLplus is probably your best bet. STLplus is a project developped by Andrew Rushton over many many years which provides some of the most used data structures like: Directed Graphs, N-ary Trees...etc. It is also portable between Windows and Linux. The creator of this library has used it for the development of the Moods Behavioural Synthesis tool at the university of Southampton.

I have been using it for one of my projects and it has proved to be very simple to use, reliable and saved me a lot of time. You can find the source files and documentation at the project website ( http://stlplus.sourceforge.net/ ). Below is a list that summerizes what this library provides:

Containers

The abstract data types expand on the STL as the name STLplus suggests. The data types provided are:

  • smart pointers
  • directed graph
  • hash table
  • 2-dimensional matrix
  • N-ary tree
  • triple
  • foursome

Subsystems

The generic subsystems are components to build up applications in a modular way. They provide commonly-used functionality. The subsystems provided are:

  • command-line parser
  • ini-file manager
  • message handler
  • library manager
  • CPU Timer

Portability

The portability subsystems provide platform-independent interfaces to platform-specific features. This is so that programs can be written to be inherently portable by using this library to access those features. The target platforms for portability are Windows NT/2k and all flavours of Unix, including Linux and Solaris on PCs, plus Solaris, HP-UX and AIX on workstations. The components provided are:

  • platform-independent file system access routines
  • platform-independent Wildcard Matching
  • object-oriented subprocess handling
  • object-orientated TCP networking
  • Safe sprintf-like formatting
  • Debugging Utilities

Data Persistence

The library includes a solution to the problem of data persistence for C++ data structures. The data persistence components allow any well-structured data structure to be dumped and restored. The same techniques can be used to transmit data structures over network connections. The persistence format is platform-independent and so can be used to transfer data structures between platforms.

String Formatting

The string formatting and printing functions can be used to build up string representations of data structures for printing or for diagnostic text dumps. They use similar concepts to the persistence library in that they form a kit of parts which can be assembled to print any data structure.

 

Visit the website for more information.

Comments (0)Add comments

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

busy
Last Updated ( Saturday, 22 March 2008 )
 
Next >