mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
archive with Input/Ouput variable
This commit is contained in:
parent
700d1b9163
commit
caa7295990
@ -8,9 +8,11 @@ namespace ngstd
|
|||||||
|
|
||||||
class Archive
|
class Archive
|
||||||
{
|
{
|
||||||
|
bool is_output;
|
||||||
public:
|
public:
|
||||||
virtual bool Output () = 0;
|
Archive (bool ais_output) : is_output(ais_output) { ; }
|
||||||
virtual bool Input () { return !Output(); }
|
bool Output () { return is_output; }
|
||||||
|
bool Input () { return !is_output; }
|
||||||
|
|
||||||
virtual Archive & operator & (double & d) = 0;
|
virtual Archive & operator & (double & d) = 0;
|
||||||
virtual Archive & operator & (int & i) = 0;
|
virtual Archive & operator & (int & i) = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user