OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AttReal Class Reference

The class for attribute cells with a real value. More...

#include <AttCell.h>

Inheritance diagram for AttReal:
Inheritance graph
[legend]
Collaboration diagram for AttReal:
Collaboration graph
[legend]

Public Member Functions

 AttReal ()
 
virtual ~AttReal ()
 
virtual void clearValue ()
 Clear the value. More...
 
virtual void printFormat (std::ostream &os) const
 Print the attribute format. More...
 
virtual void printValue (std::ostream &os) const
 Print the attribute value. More...
 
virtual void setReal (double)
 Store the value. More...
 
- Public Member Functions inherited from AttCell
 AttCell ()
 
virtual ~AttCell ()
 
virtual void setString (const std::string &)
 Store the value. More...
 

Private Member Functions

 AttReal (const AttReal &)
 
void operator= (const AttReal &)
 

Private Attributes

double itsValue
 

Detailed Description

The class for attribute cells with a real value.

Definition at line 69 of file AttCell.h.

Constructor & Destructor Documentation

AttReal::AttReal ( )

Definition at line 81 of file AttCell.cpp.

AttReal::~AttReal ( )
virtual

Definition at line 86 of file AttCell.cpp.

AttReal::AttReal ( const AttReal )
private

Member Function Documentation

void AttReal::clearValue ( )
virtual

Clear the value.

Implements AttCell.

Definition at line 90 of file AttCell.cpp.

References itsValue.

void AttReal::operator= ( const AttReal )
private
void AttReal::printFormat ( std::ostream &  os) const
virtual

Print the attribute format.

Implements AttCell.

Definition at line 95 of file AttCell.cpp.

void AttReal::printValue ( std::ostream &  os) const
virtual

Print the attribute value.

Implements AttCell.

Definition at line 100 of file AttCell.cpp.

References itsValue.

void AttReal::setReal ( double  value)
virtual

Store the value.

Reimplemented from AttCell.

Definition at line 105 of file AttCell.cpp.

References itsValue.

Member Data Documentation

double AttReal::itsValue
private

Definition at line 96 of file AttCell.h.

Referenced by clearValue(), printValue(), and setReal().


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