mjplusplus  v0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
firm::Tarval Class Reference

#include <Tarval.hpp>

Inheritance diagram for firm::Tarval:
firm::BadTarval firm::UnknownTarval

Public Member Functions

 Tarval (ir_tarval *tarval)
 
 Tarval (long value, ir_mode *mode=mode_Is)
 
 Tarval ()
 
ir_mode * getMode () const
 
bool isModeIs () const
 
bool isModeLu () const
 
bool isModeBu () const
 
bool isNumeric () const
 
bool isNumericOrBool () const
 
bool isBad () const
 
bool isUnknown () const
 
long getLong () const
 
bool isNumWithVal (long val) const
 
void setValue (ir_tarval *tarval)
 
std::string toString () const
 
 operator ir_tarval * ()
 
 operator bool ()
 
bool operator== (Tarval const &otherTarval) const
 
bool operator== (ir_tarval *otherTarval) const
 
bool operator!= (Tarval const &otherTarval) const
 
bool operator!= (ir_tarval *otherTarval) const
 

Protected Attributes

ir_tarval * tarval
 

Constructor & Destructor Documentation

firm::Tarval::Tarval ( ir_tarval *  tarval)
firm::Tarval::Tarval ( long  value,
ir_mode *  mode = mode_Is 
)
firm::Tarval::Tarval ( )

Member Function Documentation

long firm::Tarval::getLong ( ) const
ir_mode * firm::Tarval::getMode ( ) const
bool firm::Tarval::isBad ( ) const
bool firm::Tarval::isModeBu ( ) const
bool firm::Tarval::isModeIs ( ) const
bool firm::Tarval::isModeLu ( ) const
bool firm::Tarval::isNumeric ( ) const
bool firm::Tarval::isNumericOrBool ( ) const
bool firm::Tarval::isNumWithVal ( long  val) const
bool firm::Tarval::isUnknown ( ) const
firm::Tarval::operator bool ( )
inline
firm::Tarval::operator ir_tarval * ( )
inline
bool firm::Tarval::operator!= ( Tarval const &  otherTarval) const
inline
bool firm::Tarval::operator!= ( ir_tarval *  otherTarval) const
inline
bool firm::Tarval::operator== ( Tarval const &  otherTarval) const
inline
bool firm::Tarval::operator== ( ir_tarval *  otherTarval) const
inline
void firm::Tarval::setValue ( ir_tarval *  tarval)
std::string firm::Tarval::toString ( ) const

Member Data Documentation

ir_tarval* firm::Tarval::tarval
protected

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