Merge branch 'get_version_base_archive' into 'master'

GetVersion implemented in base archive

See merge request jschoeberl/netgen!111
This commit is contained in:
Matthias Hochsteger 2018-12-18 13:16:39 +00:00
commit ab92bff3a0

View File

@ -113,7 +113,8 @@ namespace ngcore
bool Output () const { return is_output; } bool Output () const { return is_output; }
bool Input () const { return !is_output; } bool Input () const { return !is_output; }
virtual const VersionInfo& GetVersion(const std::string& library) = 0; virtual const VersionInfo& GetVersion(const std::string& library)
{ return GetLibraryVersions()[library]; }
// Pure virtual functions that have to be implemented by In-/OutArchive // Pure virtual functions that have to be implemented by In-/OutArchive
virtual Archive & operator & (double & d) = 0; virtual Archive & operator & (double & d) = 0;