Victor
 All Data Structures Functions Variables Friends Pages
ThreadingInput Class Reference

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 ThreadingInputnewCopy ()
 Construct a new "deep copy" of this object. More...
 
ThreadingInputoperator= (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.
 

Detailed Description

Implement I/O objects for handling threading files.

Member Function Documentation

void copy ( const ThreadingInput orig)
virtual

Copy orig object to this object ("deep copy").

Parameters
orig
ThreadingInput * newCopy ( )
virtual

Construct a new "deep copy" of this object.

Returns
ThreadingInput & operator= ( const ThreadingInput orig)

Assignment operator.

Parameters
orig
Returns
template void pReadDoubleVector ( istream &  is,
vector< vector< T > > &  data 
)
static

Helper function used to read a vector<vector> construct.

Parameters
is
data

The documentation for this class was generated from the following files: