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::DimensionExpressionSum Class Reference

DimensionExpressionSum: DimensionExpression Binary Sum. More...

#include <DimensionExpressionSum.hh>

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

Public Member Functions

 DimensionExpressionSum (DimensionExpressionSum const &exp)
 Copy Constructor. More...
 
 DimensionExpressionSum (DimensionExpression const &exp1, DimensionExpression const &exp2)
 Expression Constructor. More...
 
 DimensionExpressionSum (DimensionExpression *exp1_p_a, DimensionExpression *exp2_p_a)
 Expression Pointer Constructor (Ownership Transfer) More...
 
DimensionExpressionclone () const override
 Clone. More...
 
DimensionExpressionclone (Dimension const &dim) const override
 Clone with Dimension Substitution. More...
 
 ~DimensionExpressionSum () 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 &observer) const override
 Insert an Observer. More...
 
void remove_observer (Observer &observer) const override
 Remove an Observer. More...
 
void destructed (Subject const &subject) 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

DimensionExpressionexp1_p_
 Pointer to expression 1. More...
 
DimensionExpressionexp2_p_
 Pointer to expression 2. More...
 

Additional Inherited Members

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

Detailed Description

DimensionExpressionSum: DimensionExpression Binary Sum.

Member Typedef Documentation

Constructor & Destructor Documentation

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

Copy Constructor.

References exp1_p_, and exp2_p_.

Referenced by clone().

ObjexxFCL::DimensionExpressionSum::DimensionExpressionSum ( DimensionExpression const &  exp1,
DimensionExpression const &  exp2 
)
inline

Expression Constructor.

References exp1_p_, and exp2_p_.

ObjexxFCL::DimensionExpressionSum::DimensionExpressionSum ( DimensionExpression exp1_p_a,
DimensionExpression exp2_p_a 
)
inline

Expression Pointer Constructor (Ownership Transfer)

References exp1_p_, and exp2_p_.

ObjexxFCL::DimensionExpressionSum::~DimensionExpressionSum ( )
inlineoverride

Destructor.

References exp1_p_, and exp2_p_.

Member Function Documentation

DimensionExpression* ObjexxFCL::DimensionExpressionSum::clone ( ) const
inlineoverridevirtual
DimensionExpression* ObjexxFCL::DimensionExpressionSum::clone ( Dimension const &  dim) const
inlineoverridevirtual
bool ObjexxFCL::DimensionExpressionSum::constant ( ) const
inlineoverridevirtual
void ObjexxFCL::DimensionExpressionSum::destructed ( Subject const &  subject)
inlineoverridevirtual

Update for Destruction of a Subject.

Implements ObjexxFCL::DimensionExpression.

References ObjexxFCL::DimensionExpression::destructed(), exp1_p_, and exp2_p_.

bool ObjexxFCL::DimensionExpressionSum::initialized ( ) const
inlineoverridevirtual
void ObjexxFCL::DimensionExpressionSum::insert_observer ( Observer observer) const
inlineoverridevirtual
bool ObjexxFCL::DimensionExpressionSum::integer ( ) const
inlineoverridevirtual
double ObjexxFCL::DimensionExpressionSum::operator() ( ) const
inlineoverridevirtual

Value.

Implements ObjexxFCL::DimensionExpression.

References exp1_p_, and exp2_p_.

bool ObjexxFCL::DimensionExpressionSum::reducible ( ) const
inlineoverridevirtual
bool ObjexxFCL::DimensionExpressionSum::reference ( ) const
inlineoverridevirtual
void ObjexxFCL::DimensionExpressionSum::remove_observer ( Observer observer) const
inlineoverridevirtual
double ObjexxFCL::DimensionExpressionSum::value ( ) const
inlineoverridevirtual

Member Data Documentation

DimensionExpression* ObjexxFCL::DimensionExpressionSum::exp1_p_
private
DimensionExpression* ObjexxFCL::DimensionExpressionSum::exp2_p_
private

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