GridComputing
Job Management in Grid Computing
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Saver< Savable > Class Template Reference

Saver Class. More...

#include <loader.h>

Public Member Functions

 Saver (const std::string &fileName)
 Constructor.
 
bool Save (Savable *s)
 Save method.
 

Private Attributes

std::string _fileName
 Destination file name.
 

Detailed Description

template<class Savable>
class Saver< Savable >

Saver Class.

The Saver class calls the Save method of a Savable class.

Constructor & Destructor Documentation

template<class Savable >
Saver< Savable >::Saver ( const std::string &  fileName)

Constructor.

Parameters
fileNamestd::string that contains the destination fileName.

Member Function Documentation

template<class Savable >
bool Saver< Savable >::Save ( Savable *  s)

Save method.

Returns
A boolean value that indicates whether the save was successful or not.

Member Data Documentation

template<class Savable >
std::string Saver< Savable >::_fileName
private

Destination file name.


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