Class for vector I/O with automatic file format detection.
#include <TVectorIO.hh>
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 TVector * | read (const String &filename) const |
| read and return vector from file filename
|
virtual TVector * | read (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)