Victor
|
Implement I/O objects for handling PSI-PRED files. More...
Public Member Functions | |
Ss2Input () | |
Default constructor. | |
Ss2Input (istream &is) | |
istream constructor. | |
Ss2Input (const Ss2Input &orig) | |
Copy constructor. | |
virtual | ~Ss2Input () |
Destructor. | |
virtual void | copy (const Ss2Input &orig) |
Copy orig object to this object ("deep copy"). More... | |
virtual Ss2Input * | newCopy () |
Construct a new "deep copy" of this object. More... | |
Ss2Input & | operator= (const Ss2Input &orig) |
Assignment operator. | |
double | score (int i, int j) |
Return the PSI-PRED score. | |
virtual unsigned int | size () const |
Return dimension of matrix. | |
Static Public Member Functions | |
template<class T > | |
static void | pReadDoubleVector (istream &is, vector< vector< T > > &data) |
Helper function used to read a vector<vector> construct. More... | |
template<class T > | |
static void | pWriteDoubleVector (ostream &os, vector< vector< T > > data) |
Helper function used to write a vector<vector> construct. More... | |
Friends | |
ostream & | operator<< (ostream &os, const Ss2Input &object) |
Output operator. More... | |
istream & | operator>> (istream &is, Ss2Input &object) |
Input operator. More... | |
Implement I/O objects for handling PSI-PRED files.
|
virtual |
Copy orig object to this object ("deep copy").
orig |
|
virtual |
Construct a new "deep copy" of this object.
|
static |
Helper function used to read a vector<vector> construct.
is | |
data |
|
static |
Helper function used to write a vector<vector> construct.
os | |
data |
|
friend |
Output operator.
os | |
object |
|
friend |
Input operator.
is | |
object |