Class for vector I/O with automatic file format detection.
#include <TVectorIO.hh>
|
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< TVector > | read (const std::string &filename) const |
| read and return vector from file filename
|
|
virtual std::unique_ptr< TVector > | read (const std::string &filename, const std::string &vecname) const |
|
◆ 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)