TF++, Miscellaneous classes and modules in C++:
TF++, Miscellaneous classes and modules in C++: Documentation
Author
Thomas Forbriger
Since
November 2002
Date
January 2014
Version
V1.0

Table of contents

Aims

This library contains smaller and independent sets of classes and modules. They should provide stable and reliable interfaces and sematics. Some of them will be copied from libclass which was more for experimenting purposes. The modules provide handling of commandline options and arguments, I/O byte swapping, I/O for Fortran binary files, error handling, and more.

Modules

Commandline Parameters

This modules supports a convenient definition and use of commandline arguments. You find this module in namespace tfxx::cmdline. There are two interfaces available:

I/O support routines

Bytesex and byte swapping
This module supports checking of input data bytesex and allows
swapping of input data bytes.
You find this module in tfxx::ioswap.
References to the \ref group_ioswap are collected on a separate page.
Fortran I/O
This module supports reading and writing of Fortran binary data files.
References to the \ref group_fortranio are collected on a separate page.

Exceptions classes and error handling macros

This modules provides a convenient exception base class and some error handline preprocessor macros.

See also
tfxx::error
tfxx::error::Exception
error.h
Error handling module

Other modules

See also
Blitz++ utilities

Modules outside groups

Some of the modules are not explicitely grouped.

See also
tfxx::Range

Namespaces

We make excessive use of namespaces. This my seem inconvenient at a first glance. Use statements like e.g.

using namespace tfxx::cmdline;

or

for convenient access.

Related Information