Flow123d  jenkins-Flow123d-windows-release-multijob-285
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 69 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 72 of file xio.h.

Constructor & Destructor Documentation

Xio::Xio ( )
private

Constructor.

Initialize XIO library.

Definition at line 75 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 83 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 103 of file xio.cc.

Xio::XFILEMAP & Xio::get_xfile_map ( )

Get XIO mapping instance.

Definition at line 108 of file xio.cc.

Here is the caller graph for this function:

void Xio::init ( )
static

initialize XIO library

Definition at line 89 of file xio.cc.

Here is the caller graph for this function:

void Xio::set_verbosity ( int  verb)

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

Definition at line 98 of file xio.cc.

Member Data Documentation

Xio * Xio::instance = NULL
staticprivate

Definition at line 88 of file xio.h.

int Xio::verbosity_
private

internal XIO debug: print info at each XIO function

Definition at line 100 of file xio.h.

XFILEMAP Xio::xfiles_map_
private

mapping instance

Definition at line 98 of file xio.h.


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