EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
Classes | Macros | Functions
egs_input.cpp File Reference

EGS_Input implementation. More...

#include "egs_input.h"
#include "egs_functions.h"
#include <sstream>
#include <algorithm>
#include <cctype>
#include <fstream>

Go to the source code of this file.

Classes

class  EGS_InputLoopVariable
 A base class for input loops. Basic functionality for input loops is provided by this class. Input loops can be used whenever a large number of similar input blocks are needed. More...
 
class  EGS_IntegerInputLoopVariable
 A base class for integer valued input loops. Basic functionality for input loops is provided by this class. More...
 
class  EGS_FloatInputLoopVariable
 A base class for real valued input loops. Basic functionality for input loops is provided by this class. More...
 
class  EGS_ListInputLoopVariable
 

Macros

#define S_STREAM   std::istringstream
 

Functions

template<class T >
int EGS_LOCAL get_input (const EGS_InputPrivate *p, const string &key, vector< T > &values)
 
template<class T >
int EGS_LOCAL get_input (const EGS_InputPrivate *p, const string &key, T &value)
 

Detailed Description

EGS_Input implementation.

Author
Iwan Kawrakow, NRC

Definition in file egs_input.cpp.