Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Types | Private Attributes | List of all members
ObjexxFCL::DimensionExpressionCon Class Reference

DimensionExpressionCon: Constant-Valued DimensionExpression. More...

#include <DimensionExpressionCon.hh>

Inheritance diagram for ObjexxFCL::DimensionExpressionCon:
Inheritance graph
[legend]

Public Member Functions

 DimensionExpressionCon (DimensionExpressionCon const &exp)
 Copy Constructor. More...
 
 DimensionExpressionCon (int const value_a)
 int Constructor More...
 
 DimensionExpressionCon (double const value_a)
 double Constructor More...
 
DimensionExpressionConclone () const override
 Clone. More...
 
DimensionExpressionConclone (Dimension const &) const override
 Clone with Dimension Substitution. More...
 
 ~DimensionExpressionCon () override
 Destructor. More...
 
bool initialized () const override
 Initialized? More...
 
bool integer () const override
 Integer? More...
 
bool constant () const override
 Constant? More...
 
bool reference () const override
 Reference? More...
 
bool reducible () const override
 Reducible? More...
 
double operator() () const override
 Value. More...
 
double value () const override
 Value. More...
 
void insert_observer (Observer &) const override
 Insert an Observer. More...
 
void remove_observer (Observer &) const override
 Remove an Observer. More...
 
void destructed (Subject const &) override
 Update for Destruction of a Subject. More...
 
- Public Member Functions inherited from ObjexxFCL::DimensionExpression
virtual ~DimensionExpression ()
 Destructor. More...
 
 operator int () const
 int Conversion More...
 
 operator double () const
 double Conversion More...
 
virtual int ivalue () const
 Integer Value. More...
 
virtual int zvalue () const
 Integer Value: Zero if Uninitialized. More...
 

Private Types

typedef DimensionExpression Super
 

Private Attributes

double value_
 Value. More...
 
bool integer_
 Integer-valued? More...
 

Additional Inherited Members

- Protected Member Functions inherited from ObjexxFCL::DimensionExpression
 DimensionExpression ()
 Default Constructor. More...
 
 DimensionExpression (DimensionExpression const &)
 Copy Constructor. More...
 

Detailed Description

DimensionExpressionCon: Constant-Valued DimensionExpression.

Member Typedef Documentation

Constructor & Destructor Documentation

ObjexxFCL::DimensionExpressionCon::DimensionExpressionCon ( DimensionExpressionCon const &  exp)
inline

Copy Constructor.

Referenced by clone().

ObjexxFCL::DimensionExpressionCon::DimensionExpressionCon ( int const  value_a)
inlineexplicit

int Constructor

ObjexxFCL::DimensionExpressionCon::DimensionExpressionCon ( double const  value_a)
inlineexplicit

double Constructor

ObjexxFCL::DimensionExpressionCon::~DimensionExpressionCon ( )
inlineoverride

Destructor.

Member Function Documentation

DimensionExpressionCon* ObjexxFCL::DimensionExpressionCon::clone ( ) const
inlineoverridevirtual
DimensionExpressionCon* ObjexxFCL::DimensionExpressionCon::clone ( Dimension const &  ) const
inlineoverridevirtual

Clone with Dimension Substitution.

Implements ObjexxFCL::DimensionExpression.

References DimensionExpressionCon().

bool ObjexxFCL::DimensionExpressionCon::constant ( ) const
inlineoverridevirtual

Constant?

Implements ObjexxFCL::DimensionExpression.

void ObjexxFCL::DimensionExpressionCon::destructed ( Subject const &  )
inlineoverridevirtual

Update for Destruction of a Subject.

Implements ObjexxFCL::DimensionExpression.

bool ObjexxFCL::DimensionExpressionCon::initialized ( ) const
inlineoverridevirtual

Initialized?

Implements ObjexxFCL::DimensionExpression.

void ObjexxFCL::DimensionExpressionCon::insert_observer ( Observer ) const
inlineoverridevirtual

Insert an Observer.

Implements ObjexxFCL::DimensionExpression.

bool ObjexxFCL::DimensionExpressionCon::integer ( ) const
inlineoverridevirtual

Integer?

Implements ObjexxFCL::DimensionExpression.

References integer_.

double ObjexxFCL::DimensionExpressionCon::operator() ( ) const
inlineoverridevirtual

Value.

Implements ObjexxFCL::DimensionExpression.

References value_.

bool ObjexxFCL::DimensionExpressionCon::reducible ( ) const
inlineoverridevirtual

Reducible?

Implements ObjexxFCL::DimensionExpression.

bool ObjexxFCL::DimensionExpressionCon::reference ( ) const
inlineoverridevirtual

Reference?

Implements ObjexxFCL::DimensionExpression.

void ObjexxFCL::DimensionExpressionCon::remove_observer ( Observer ) const
inlineoverridevirtual

Remove an Observer.

Implements ObjexxFCL::DimensionExpression.

double ObjexxFCL::DimensionExpressionCon::value ( ) const
inlineoverridevirtual

Value.

Implements ObjexxFCL::DimensionExpression.

References value_.

Member Data Documentation

bool ObjexxFCL::DimensionExpressionCon::integer_
private

Integer-valued?

Referenced by integer().

double ObjexxFCL::DimensionExpressionCon::value_
private

Value.

Referenced by operator()(), and value().


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