HLIBpro  2.9.1
TAutoVectorIO Class Reference

Class for vector I/O with automatic file format detection.

#include <TVectorIO.hh>

Inheritance diagram for TAutoVectorIO:
TVectorIO

Public Member Functions

virtual void write (const TVector *A, const std::string &filename) const
 write vector A to file filename
 
virtual void write (const TVector *A, const std::string &filename, const std::string &vecname) const
 
virtual std::unique_ptr< TVectorread (const std::string &filename) const
 read and return vector from file filename
 
virtual std::unique_ptr< TVectorread (const std::string &filename, const std::string &vecname) const
 

Member Function Documentation

◆ read()

virtual std::unique_ptr< TVector > read ( const std::string &  filename,
const std::string &  vecname 
) const
virtual

read and return vector from file filename with optional vector name vecname (if file format has corresponding support)

◆ write()

virtual void write ( const TVector A,
const std::string &  filename,
const std::string &  vecname 
) const
virtual

write vector A to file filename with optional vector name vecname (if file format has corresponding support)