Otawa  0.10
otawa::ilp::var Class Reference

Encapsulation for ilp::Var pointers for {ilp} expr user-fiendly interface. More...

#include <otawa/ilp/expr.h>

Public Member Functions

 var (System &sys, Var::type_t t=Var::INT, string name="")
 
 var (System *sys, Var::type_t t=Var::INT, string name="")
 
 var (Var *v)
 
 operator Var * (void) const
 
 operator Term (void) const
 

Private Attributes

Var_v
 

Detailed Description

Encapsulation for ilp::Var pointers for {ilp} expr user-fiendly interface.

A simple way to convert an ilp::Var pointer to a var is the function x().

Constructor & Destructor Documentation

otawa::ilp::var::var ( System sys,
Var::type_t  t = Var::INT,
string  name = "" 
)
inlineexplicit
otawa::ilp::var::var ( System sys,
Var::type_t  t = Var::INT,
string  name = "" 
)
inlineexplicit
otawa::ilp::var::var ( Var v)
inline

Member Function Documentation

otawa::ilp::var::operator Term ( void  ) const
inline

References _v.

otawa::ilp::var::operator Var * ( void  ) const
inline

References _v.

Member Data Documentation

Var* otawa::ilp::var::_v
private

Referenced by operator Term(), and operator Var *().


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