PeTar
N-body code for collisional gravitational systems
IOParamsContainer Class Reference

IO Params container. More...

#include <io.hpp>

Public Member Functions

void store (const char *_name, IOParams< double > *_item)
 
void store (const char *_name, IOParams< long long int > *_item)
 
void store (const char *_name, IOParams< std::string > *_item)
 
void writeAscii (FILE *_fout)
 
void readAscii (FILE *_fin)
 
void print (std::ostream &os) const
 
void printHelp (std::ostream &os, const int _offset_short_key=2, const int _offset_long_key=1, const int _width_key=23) const
 

Detailed Description

IO Params container.

Member Function Documentation

◆ print()

void IOParamsContainer::print ( std::ostream &  os) const
inline
Here is the caller graph for this function:

◆ printHelp()

void IOParamsContainer::printHelp ( std::ostream &  os,
const int  _offset_short_key = 2,
const int  _offset_long_key = 1,
const int  _width_key = 23 
) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readAscii()

void IOParamsContainer::readAscii ( FILE *  _fin)
inline
Here is the caller graph for this function:

◆ store() [1/3]

void IOParamsContainer::store ( const char *  _name,
IOParams< double > *  _item 
)
inline

◆ store() [2/3]

void IOParamsContainer::store ( const char *  _name,
IOParams< long long int > *  _item 
)
inline

◆ store() [3/3]

void IOParamsContainer::store ( const char *  _name,
IOParams< std::string > *  _item 
)
inline

◆ writeAscii()

void IOParamsContainer::writeAscii ( FILE *  _fout)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

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