Victor
|
Implement I/O objects for handling threading files. More...
Public Member Functions | |
ThreadingInput () | |
Default constructor. | |
ThreadingInput (istream &is) | |
istream constructor. | |
ThreadingInput (const ThreadingInput &orig) | |
Copy constructor. | |
virtual | ~ThreadingInput () |
Destructor. | |
virtual void | copy (const ThreadingInput &orig) |
Copy orig object to this object ("deep copy"). More... | |
virtual ThreadingInput * | newCopy () |
Construct a new "deep copy" of this object. More... | |
ThreadingInput & | operator= (const ThreadingInput &orig) |
Assignment operator. More... | |
double | score (int i, int j) |
Return the threading score. | |
virtual unsigned int | size () const |
Return the size of the object referred as the dimension of the 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. | |
Friends | |
ostream & | operator<< (ostream &os, const ThreadingInput &object) |
Output operator. | |
istream & | operator>> (istream &is, ThreadingInput &object) |
Input operator. | |
Implement I/O objects for handling threading files.
|
virtual |
Copy orig object to this object ("deep copy").
orig |
|
virtual |
Construct a new "deep copy" of this object.
ThreadingInput & operator= | ( | const ThreadingInput & | orig | ) |
Assignment operator.
orig |
|
static |
Helper function used to read a vector<vector> construct.
is | |
data |