XGC1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
XGC_IO Class Reference

#include <xgc_io.hpp>

Public Member Functions

template<class T >
void add (const T &new_data)
 
template<class T , class... Ts>
void add (const T &new_data, const Ts &... new_data_rest)
 
void write (const XGC_IO_Stream &stream) const
 
void read (const XGC_IO_Stream &stream)
 

Static Public Member Functions

template<typename T >
static bool is_present (const XGC_IO_Stream &stream, const std::string &varname)
 

Private Attributes

std::vector< std::unique_ptr< IOData > > io_data
 

Member Function Documentation

◆ add() [1/2]

template<class T >
void XGC_IO::add ( const T &  new_data)
inline
Here is the caller graph for this function:

◆ add() [2/2]

template<class T , class... Ts>
void XGC_IO::add ( const T &  new_data,
const Ts &...  new_data_rest 
)
inline
Here is the call graph for this function:

◆ is_present()

template<typename T >
static bool XGC_IO::is_present ( const XGC_IO_Stream stream,
const std::string &  varname 
)
inlinestatic

◆ read()

void XGC_IO::read ( const XGC_IO_Stream stream)
inline
Here is the caller graph for this function:

◆ write()

void XGC_IO::write ( const XGC_IO_Stream stream) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ io_data

std::vector<std::unique_ptr<IOData> > XGC_IO::io_data
private

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