rheolef  6.6
Classes | Namespaces | Macros | Functions | Variables
diststream.h File Reference
#include "rheolef/distributed.h"
#include "rheolef/dis_macros.h"
#include "rheolef/catchmark.h"
Include dependency graph for diststream.h:

Go to the source code of this file.

Classes

class  rheolef::odiststream
 idiststream, odiststream - distributed interface for large data streams More...
 

Namespaces

 rheolef
 irheostream, orheostream - large data streams
 

Macros

#define define_sequential_odiststream_raw_macro(arg)
 
#define define_sequential_odiststream_macro(T)   define_sequential_odiststream_raw_macro(const T& x)
 
#define define_distributed_odiststream_macro(T)
 
#define define_sequential_idiststream_macro(T)
 
#define define_distributed_idiststream_macro(T)
 

Functions

template<class T >
odiststream & rheolef::operator<< (odiststream &s, T x)
 
 rheolef::idiststream (std::istream &is, const communicator &comm=communicator())
 
 rheolef::idiststream (std::string filename, std::string suffix="", const communicator &comm=communicator())
 
 rheolef::~idiststream ()
 
void rheolef::open (std::string filename, std::string suffix="", const communicator &comm=communicator())
 
void rheolef::close ()
 
const communicator & rheolef::comm () const
 
bool rheolef::good () const
 
 rheolef::operator bool () const
 
static size_type rheolef::io_proc ()
 
std::istream & rheolef::is ()
 
bool rheolef::nop ()
 
bool rheolef::do_load ()
 
bool rheolef::dis_scatch (idiststream &ips, const communicator &comm, std::string ch)
 
bool rheolef::dis_scatch (idiststream &ips, std::string ch)
 
idiststream & rheolef::operator>> (idiststream &ids, const catchmark &m)
 
odiststream & rheolef::operator<< (odiststream &ods, const catchmark &m)
 
int rheolef::dis_system (const std::string &command, const communicator &comm)
 
bool rheolef::dis_file_exists (const std::string &filename, const communicator &comm)
 

Variables

define_sequential_odiststream_macro(char) define_sequential_odiststream_macro(int) define_sequential_odiststream_macro(unsigned int) define_sequential_odiststream_macro(long int) define_sequential_odiststream_macro(long unsigned int) define_sequential_odiststream_macro(float) define_sequential_odiststream_macro(double) define_sequential_odiststream_macro(long double) define_sequential_odiststream_macro(char *const ) define_sequential_odiststream_macro(st rheolef::idiststream )()
 
std::istream * rheolef::_ptr_is
 
bool rheolef::_use_alloc
 
communicator rheolef::_comm
 

Macro Definition Documentation

#define define_sequential_odiststream_raw_macro (   arg)
Value:
inline \
odiststream& \
operator << (odiststream& s, arg) { \
if (s.nop()) return s; s.os() << x; return s; \
}
if(!(yy_init))

Definition at line 177 of file diststream.h.

#define define_sequential_odiststream_macro (   T)    define_sequential_odiststream_raw_macro(const T& x)

Definition at line 183 of file diststream.h.

#define define_distributed_odiststream_macro (   T)
Value:
inline \
odiststream& \
operator << (odiststream& s, const T& x) { \
s.os() << x; return s; \
}

Definition at line 186 of file diststream.h.

#define define_sequential_idiststream_macro (   T)
Value:
operator >> (idiststream& s, T& x) \
{ \
(s.is()) >> x; \
return s; \
}
idiststream(std::string filename, std::string suffix="", const communicator &comm=communicator())

Definition at line 299 of file diststream.h.

#define define_distributed_idiststream_macro (   T)
Value:
operator >> (idiststream& s, T& x) \
{ \
s.is() >> x; \
return s; \
}
idiststream(std::string filename, std::string suffix="", const communicator &comm=communicator())

Definition at line 308 of file diststream.h.