Generated on Mon May 5 05:54:17 2008 for Gecode by doxygen 1.5.5

Gecode::Reflection::Var Class Reference
[Reflection API]

List of all members.


Detailed Description

Generic variables.

A generic variable can represent any Gecode variable. It can be used in VarArrays, and it supports generic update during cloning.

Definition at line 705 of file reflection.icc.


Public Member Functions

 Var (void)
 Default constructor.
template<class V>
 Var (const V &v)
 Construct from v.
 Var (VarImpBase *var, const Support::Symbol &vti)
 Construct from var with variable type identifier vti.
void update (Space *home, bool share, Var &v)
 Update during cloning.
std::ostream & print (std::ostream &os) const
 Output to os.
Argspec (const Space *home, VarMap &vm) const
 Reflection.
template<class VarImp>
VarImpvar (void) const
 Cast to concrete variable type.
template<>
 Var (const Var &v)

Constructor & Destructor Documentation

Gecode::Reflection::Var::Var ( void   )  [inline]

Default constructor.

Definition at line 762 of file reflection.icc.

template<class V>
Gecode::Reflection::Var::Var ( const V &  v  )  [inline, explicit]

Construct from v.

Definition at line 765 of file reflection.icc.

Gecode::Reflection::Var::Var ( VarImpBase var,
const Support::Symbol vti 
) [inline]

Construct from var with variable type identifier vti.

Definition at line 777 of file reflection.icc.

template<>
Gecode::Reflection::Var::Var ( const Var v  )  [inline]

Definition at line 774 of file reflection.icc.


Member Function Documentation

void Gecode::Reflection::Var::update ( Space home,
bool  share,
Var v 
)

Update during cloning.

Definition at line 898 of file reflection.cc.

std::ostream & Gecode::Reflection::Var::print ( std::ostream &  os  )  const

Output to os.

Definition at line 904 of file reflection.cc.

Arg * Gecode::Reflection::Var::spec ( const Space home,
VarMap vm 
) const

Reflection.

Definition at line 909 of file reflection.cc.

template<class VarImp>
VarImp * Gecode::Reflection::Var::var ( void   )  const [inline]

Cast to concrete variable type.

Definition at line 782 of file reflection.icc.


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