SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Classes | Namespaces | Macros
iodata.h File Reference

Input/output of various kind of data to/from text or binary files. More...

#include "common.h"
#include "schwarzschild.h"
#include <fstream>
#include <hdf5.h>
Include dependency graph for iodata.h:
This graph shows which files directly or indirectly include this file:

Classes

class  smile::CFileInputText
 Class for reading data from a text file, possibly accompanied by binary files for the orbit library. More...
 
class  smile::CFileOutputText
 Class for writing data to a text file, possibly accompanied by binary files for the orbit library. More...
 

Namespaces

 smile
 common namespace for all core SMILE classes, functions and variables
 

Macros

#define H5DATASETNAME_SCHW   "/Schw"
 names of data arrays in HDF5 files
 
#define H5DATASETNAME_TRAJ   "/Traj"
 

Detailed Description

Input/output of various kind of data to/from text or binary files.

Author
EV
Date
2009-2013

This file defines two classes, for input and output using (mostly) text files. Each one can handle different sorts of data (single orbit trajectories and orbit library), but they are expected not to be mixed in a single file. Loading and storing the orbit library also makes use of additional binary files containing bulky data.