Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
Python::Module::AutoRunCodeStream Class Reference

A stream that executed all python code it is fed with on destruction. More...

#include <dune/fufem/python/module.hh>

Inheritance diagram for Python::Module::AutoRunCodeStream:
Inheritance graph

Public Member Functions

 ~AutoRunCodeStream ()
 Destructor.
 
 AutoRunCodeStream ()
 Default constructor.
 
 AutoRunCodeStream (Reference &module)
 Default constructor.
 
 AutoRunCodeStream (const AutoRunCodeStream &other)
 Copy constructor.
 
bad (T... args)
 
clear (T... args)
 
copyfmt (T... args)
 
eof (T... args)
 
exceptions (T... args)
 
fail (T... args)
 
fill (T... args)
 
flags (T... args)
 
flush (T... args)
 
gcount (T... args)
 
get (T... args)
 
getline (T... args)
 
getloc (T... args)
 
good (T... args)
 
ignore (T... args)
 
imbue (T... args)
 
init (T... args)
 
iword (T... args)
 
move (T... args)
 
narrow (T... args)
 
operator bool (T... args)
 
operator! (T... args)
 
operator<< (T... args)
 
operator>> (T... args)
 
peek (T... args)
 
precision (T... args)
 
put (T... args)
 
putback (T... args)
 
pword (T... args)
 
rdbuf (T... args)
 
rdstate (T... args)
 
read (T... args)
 
readsome (T... args)
 
register_callback (T... args)
 
seekg (T... args)
 
seekp (T... args)
 
set_rdbuf (T... args)
 
setf (T... args)
 
setstate (T... args)
 
str (T... args)
 
swap (T... args)
 
sync (T... args)
 
sync_with_stdio (T... args)
 
tellg (T... args)
 
tellp (T... args)
 
tie (T... args)
 
unget (T... args)
 
unsetf (T... args)
 
widen (T... args)
 
width (T... args)
 
write (T... args)
 
xalloc (T... args)
 

Detailed Description

A stream that executed all python code it is fed with on destruction.

This class is not intended to be used directly. It is only a helper class for the runStream() function.

Constructor & Destructor Documentation

◆ ~AutoRunCodeStream()

Python::Module::AutoRunCodeStream::~AutoRunCodeStream ( )
inline

Destructor.

This will execute the code fed to the stream at once.

◆ AutoRunCodeStream() [1/3]

Python::Module::AutoRunCodeStream::AutoRunCodeStream ( )
inline

Default constructor.

◆ AutoRunCodeStream() [2/3]

Python::Module::AutoRunCodeStream::AutoRunCodeStream ( Reference module)
inline

Default constructor.

◆ AutoRunCodeStream() [3/3]

Python::Module::AutoRunCodeStream::AutoRunCodeStream ( const AutoRunCodeStream other)
inline

Copy constructor.

This will not copy the code fed to the copied object to the newly created one in order to avoid unintended multiple execution.


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