HLIBpro  1.2
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 String &filename) const
 write vector A to file filename
virtual void write (const TVector *A, const String &filename, const String &vecname) const
virtual TVectorread (const String &filename) const
 read and return vector from file filename
virtual TVectorread (const String &filename, const String &vecname) const

Member Function Documentation

virtual TVector* read ( const String &  filename,
const 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 String &  filename,
const String &  vecname 
) const
virtual

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