HLIBpro  2.0
Public Member Functions | List of all members
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 TVectorread (const std::string &filename) const
 read and return vector from file filename
 
virtual TVectorread (const std::string &filename, const std::string &vecname) const
 

Member Function Documentation

virtual 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)

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)