Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FieldIO_None Class Reference

FieldIO_None class for an analogue of /dev/null. More...

#include <fieldIO_None.h>

Inheritance diagram for FieldIO_None:
FieldIO

Public Member Functions

 FieldIO_None (const IO_Format::Format *format)
 
void read_file (Field *v, const std::string filename)
 read data from file. More...
 
void write_file (Field *v, const std::string filename)
 write data to file. More...
 
- Public Member Functions inherited from FieldIO
 FieldIO (const IO_Format::Format *format)
 < constructor. format specifies data layout on file. More...
 
virtual ~FieldIO ()
 
virtual void read_file (std::vector< Field * > &vv, const std::string &filename)
 
virtual void write_file (std::vector< Field * > &vv, const std::string &filename)
 
void deliver (Field *vlocal, Field *vglobal)
 distribute data on primary node over parallel nodes. More...
 
void gather (Field *vglobal, Field *vlocal)
 gather data on parallel nodes to primary node. More...
 

Static Public Attributes

static const std::string class_name = "FieldIO_None"
 
- Static Public Attributes inherited from FieldIO
static const std::string class_name = "FieldIO"
 

Additional Inherited Members

- Static Public Member Functions inherited from FieldIO
static void byte_swap (void *buf, size_t size, size_t nmemb)
 < convert byte order. alternative interface. More...
 
static void convert_endian (void *buf, size_t size, size_t nmemb)
 check if machine byte order is big-endian. More...
 
static bool is_bigendian ()
 
- Protected Attributes inherited from FieldIO
const IO_Format::Formatm_format
 
Bridge::VerboseLevel m_vl
 

Detailed Description

FieldIO_None class for an analogue of /dev/null.

FieldIO_None class provides a dummy I/O entry for discarding output, analogous to sending to /dev/null. [26 June 2016 T.Aoyama]

Definition at line 32 of file fieldIO_None.h.

Constructor & Destructor Documentation

FieldIO_None::FieldIO_None ( const IO_Format::Format format)
inline

Definition at line 38 of file fieldIO_None.h.

Member Function Documentation

void FieldIO_None::read_file ( Field v,
const std::string   
)
virtual

read data from file.

Implements FieldIO.

Definition at line 22 of file fieldIO_None.cpp.

void FieldIO_None::write_file ( Field v,
const std::string   
)
virtual

write data to file.

Implements FieldIO.

Definition at line 34 of file fieldIO_None.cpp.

Member Data Documentation

const std::string FieldIO_None::class_name = "FieldIO_None"
static

Definition at line 35 of file fieldIO_None.h.


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