BWAPI
Protected Member Functions
AddSubRep< Operator > Class Template Reference

template class where operator is supposed to be Add or Sub More...

#include <ExprRep.h>

Inheritance diagram for AddSubRep< Operator >:
Inheritance graph
[legend]
Collaboration diagram for AddSubRep< Operator >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Constructors and Destructor
 AddSubRep (ExprRep *f, ExprRep *s)
 constructor
 ~AddSubRep ()
 destructor

Protected Member Functions

void computeExactFlags ()
 compute sign and MSB
void computeApproxValue (const extLong &, const extLong &)
 compute approximation value
const std::string op () const
 return operator in string

Detailed Description

template<class Operator>
class AddSubRep< Operator >

template class where operator is supposed to be Add or Sub


Constructor & Destructor Documentation

template<class Operator >
AddSubRep< Operator >::AddSubRep ( ExprRep f,
ExprRep s 
) [inline]

constructor

template<class Operator >
AddSubRep< Operator >::~AddSubRep ( ) [inline]

destructor


Member Function Documentation

template<class Operator >
void AddSubRep< Operator >::computeApproxValue ( const extLong relPrec,
const extLong absPrec 
) [protected, virtual]

compute approximation value

Implements ExprRep.

Here is the call graph for this function:

template<class Operator >
void AddSubRep< Operator >::computeExactFlags ( ) [protected, virtual]

compute sign and MSB

AddSubRep<Op>::computeExactFlags() This function is the heart of Expr class, and hence the heart of Core Library! Here is where we use the root bounds.

Implements ExprRep.

Here is the call graph for this function:

template<class Operator >
const std::string AddSubRep< Operator >::op ( ) const [inline, protected, virtual]

return operator in string

Reimplemented from ExprRep.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines