OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Open64IntegerConstVal Class Reference

#include <Open64IRInterface.hpp>

Inheritance diagram for Open64IntegerConstVal:
Inheritance graph
Collaboration diagram for Open64IntegerConstVal:
Collaboration graph

Public Member Functions

 Open64IntegerConstVal ()
 
 Open64IntegerConstVal (int aVal)
 
 ~Open64IntegerConstVal ()
 
bool operator< (OA::ConstValBasicInterface &other)
 
bool operator== (OA::ConstValBasicInterface &other)
 
bool operator!= (OA::ConstValBasicInterface &other)
 
std::string toString ()
 
bool isaInteger () const
 
int getIntegerVal () const
 
virtual OA::OA_ptr
< ConstValBasicInterface
eval (OPERATOR opr, const OA::OA_ptr< OA::ConstValBasicInterface > op2) const
 
- Public Member Functions inherited from Open64ConstVal
 Open64ConstVal ()
 
virtual ~Open64ConstVal ()
 
virtual bool isaDouble () const
 
virtual double getDoubleVal () const
 
virtual bool isaChar () const
 
virtual char getCharVal () const
 
- Public Member Functions inherited from OA::ConstValBasicInterface
 ConstValBasicInterface ()
 
virtual ~ConstValBasicInterface ()
 
- Public Member Functions inherited from OA::ConstValIntInterface
 ConstValIntInterface ()
 
virtual ~ConstValIntInterface ()
 

Private Attributes

int mVal
 

Detailed Description

Definition at line 529 of file Open64IRInterface.hpp.

Constructor & Destructor Documentation

Open64IntegerConstVal::Open64IntegerConstVal ( )
inline

Definition at line 533 of file Open64IRInterface.hpp.

Open64IntegerConstVal::Open64IntegerConstVal ( int  aVal)
inline

Definition at line 534 of file Open64IRInterface.hpp.

Open64IntegerConstVal::~Open64IntegerConstVal ( )
inline

Definition at line 535 of file Open64IRInterface.hpp.

Member Function Documentation

OA::OA_ptr< OA::ConstValBasicInterface > Open64IntegerConstVal::eval ( OPERATOR  opr,
const OA::OA_ptr< OA::ConstValBasicInterface op2 
) const
virtual

Reimplemented from Open64ConstVal.

Definition at line 3390 of file Open64IRInterface.cpp.

References OA::OA_ptr< T >::convert(), Open64ConstVal::getIntegerVal(), Open64ConstVal::isaInteger(), NULL, OPR_ADD, OPR_DIV, OPR_MPY, OPR_PARM, OPR_SUB, OA::OA_ptr< T >::ptrEqual(), and val.

Here is the call graph for this function:

int Open64IntegerConstVal::getIntegerVal ( ) const
inlinevirtual

Reimplemented from Open64ConstVal.

Definition at line 568 of file Open64IRInterface.hpp.

References mVal.

bool Open64IntegerConstVal::isaInteger ( ) const
inlinevirtual

Reimplemented from Open64ConstVal.

Definition at line 567 of file Open64IRInterface.hpp.

bool Open64IntegerConstVal::operator!= ( OA::ConstValBasicInterface other)
inlinevirtual

Reimplemented from Open64ConstVal.

Definition at line 554 of file Open64IRInterface.hpp.

References Open64ConstVal::getIntegerVal(), Open64ConstVal::isaInteger(), and mVal.

Here is the call graph for this function:

bool Open64IntegerConstVal::operator< ( OA::ConstValBasicInterface other)
inlinevirtual

Implements OA::ConstValBasicInterface.

Definition at line 538 of file Open64IRInterface.hpp.

References Open64ConstVal::getIntegerVal(), Open64ConstVal::isaInteger(), and mVal.

Here is the call graph for this function:

bool Open64IntegerConstVal::operator== ( OA::ConstValBasicInterface other)
inlinevirtual

Reimplemented from Open64ConstVal.

Definition at line 547 of file Open64IRInterface.hpp.

References Open64ConstVal::getIntegerVal(), Open64ConstVal::isaInteger(), and mVal.

Here is the call graph for this function:

std::string Open64IntegerConstVal::toString ( )
inlinevirtual

Reimplemented from Open64ConstVal.

Definition at line 562 of file Open64IRInterface.hpp.

References mVal.

Member Data Documentation

int Open64IntegerConstVal::mVal
private

Definition at line 577 of file Open64IRInterface.hpp.

Referenced by getIntegerVal(), operator!=(), operator<(), operator==(), and toString().


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