Flow123d  release_3.0.0-875-gdc24e59
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Xio Class Reference

#include <xio.h>

Collaboration diagram for Xio:
Collaboration graph
[legend]

Public Types

typedef map< FILE *, XFILE * > XFILEMAP
 mapping of ptr to regular file structure to extended structure More...
 

Public Member Functions

void set_verbosity (int verb)
 Enable/Disable XIO debug output for EACH XIO function call. More...
 
int get_verbosity ()
 Get current XIO debug verbosity level. More...
 
XFILEMAPget_xfile_map ()
 Get XIO mapping instance. More...
 

Static Public Member Functions

static Xioget_instance ()
 return instance More...
 
static void init ()
 initialize XIO library More...
 

Private Member Functions

 Xio ()
 

Private Attributes

XFILEMAP xfiles_map_
 mapping instance More...
 
int verbosity_
 internal XIO debug: print info at each XIO function More...
 

Static Private Attributes

static Xioinstance = NULL
 

Detailed Description

Base class of XIO library.

The class implements a singleton pattern. Stores data of file mapping and debug output for XIO function.

Definition at line 55 of file xio.h.

Member Typedef Documentation

typedef map< FILE *, XFILE * > Xio::XFILEMAP

mapping of ptr to regular file structure to extended structure

Definition at line 58 of file xio.h.

Constructor & Destructor Documentation

Xio::Xio ( )
private

Constructor.

Initialize XIO library.

Definition at line 58 of file xio.cc.

Here is the caller graph for this function:

Member Function Documentation

Xio * Xio::get_instance ( )
static

return instance

Definition at line 66 of file xio.cc.

Here is the caller graph for this function:

int Xio::get_verbosity ( void  )

Get current XIO debug verbosity level.

Definition at line 86 of file xio.cc.

Xio::XFILEMAP & Xio::get_xfile_map ( )

Get XIO mapping instance.

Definition at line 91 of file xio.cc.

Here is the caller graph for this function:

void Xio::init ( )
static

initialize XIO library

Definition at line 72 of file xio.cc.

void Xio::set_verbosity ( int  verb)

Enable/Disable XIO debug output for EACH XIO function call.

Definition at line 81 of file xio.cc.

Member Data Documentation

Xio * Xio::instance = NULL
staticprivate

Definition at line 74 of file xio.h.

int Xio::verbosity_
private

internal XIO debug: print info at each XIO function

Definition at line 86 of file xio.h.

XFILEMAP Xio::xfiles_map_
private

mapping instance

Definition at line 84 of file xio.h.


The documentation for this class was generated from the following files: