Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OSCAR::ScalarRepository Class Reference
[PerformanceCriteria]

ScalarRepository is a repository class which holds scalar data calculated by the criteria to allow data sharing. More...

#include <ScalarRepository.h>

Inheritance diagram for OSCAR::ScalarRepository:

Inheritance graph
[legend]
List of all members.

Public Methods

 ScalarRepository (unsigned int maxNoSolutions, const String &objectName=String(""))
 ScalarRepository (const ScalarRepository &repo)
ScalarRepository & operator= (const ScalarRepository &repo)
virtual ~ScalarRepository ()

Detailed Description

Author:
Mark Tisius and Chetan Kapoor


Constructor & Destructor Documentation

OSCAR::ScalarRepository::ScalarRepository unsigned int    maxNoSolutions,
const String   objectName = String("")
 

Constructor for ScalarRepository This constructor creates a repository object ScalarRepository that scalar data needed to calculate certain criteria. It is derived from TypeRepository and templetized to store pointers to a set of doubles. This is a storage class only all computational ability is relegated to the criteria.

Parameters:
maxNoSolutions Unsigned int that specifies the maximum number of solutions for memory allocation.
objectName String which specifies the name of the Repository object.

OSCAR::ScalarRepository::ScalarRepository const ScalarRepository &    repo
 

Copy Constructor for ScalarRepository Use this to create a ScalarRepository object whose defaults are set via the constructor argument.

Parameters:
repo A ScalarRepository object that is used to create the new object

virtual OSCAR::ScalarRepository::~ScalarRepository   [virtual]
 

Destructor for ScalarRepository();.


Member Function Documentation

ScalarRepository& OSCAR::ScalarRepository::operator= const ScalarRepository &    repo
 

Copy operator for ScalarRepository Use this to copy one ScalarRepository object into another.

Returns:
A reference to itself
Parameters:
repo A ScalarRepository object that is copied into the calling object.


The documentation for this class was generated from the following file:
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations