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

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

#include <AttCell.h>

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

Public Member Functions

 AttString ()
 
virtual ~AttString ()
 
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 setString (const std::string &)
 Store the value. More...
 
- Public Member Functions inherited from AttCell
 AttCell ()
 
virtual ~AttCell ()
 
virtual void setReal (double)
 Store the value. More...
 

Private Member Functions

 AttString (const AttString &)
 
void operator= (const AttString &)
 

Private Attributes

std::string itsValue
 

Detailed Description

The class for attribute cells with a string value.

Definition at line 104 of file AttCell.h.

Constructor & Destructor Documentation

AttString::AttString ( )

Definition at line 45 of file AttCell.cpp.

AttString::~AttString ( )
virtual

Definition at line 50 of file AttCell.cpp.

AttString::AttString ( const AttString )
private

Member Function Documentation

void AttString::clearValue ( )
virtual

Clear the value.

Implements AttCell.

Definition at line 54 of file AttCell.cpp.

References itsValue.

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

Print the attribute format.

Implements AttCell.

Definition at line 59 of file AttCell.cpp.

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

Print the attribute value.

Implements AttCell.

Definition at line 64 of file AttCell.cpp.

References itsValue.

void AttString::setString ( const std::string &  value)
virtual

Store the value.

Reimplemented from AttCell.

Definition at line 73 of file AttCell.cpp.

References itsValue.

Member Data Documentation

std::string AttString::itsValue
private

Definition at line 131 of file AttCell.h.

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


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