| VarDeclItem {rminizinc} | R Documentation |
The variable declaration item
Description
Declaration items in the model
Super class
rminizinc::Item -> VarDeclItem
Public fields
.declthe declaration expression
.delete_flagused to delete items
Active bindings
.declthe declaration expression
.delete_flagused to delete items
Methods
Public methods
Inherited methods
Method new()
constructor
Usage
VarDeclItem$new(decl = NULL, mzn_str = NULL)
Arguments
declthe declaration expression object
mzn_strstring representation of variable declaration item
Method getDecl()
get the variable declaration
Usage
VarDeclItem$getDecl()
Method setDecl()
set the variable declaration
Usage
VarDeclItem$setDecl(e)
Arguments
evar decl expression
Method getId()
get the identifier object for the variable
Usage
VarDeclItem$getId()
Method c_str()
set the variable declaration
convert the declaration to String
Usage
VarDeclItem$c_str()
Method getDeleteFlag()
delete flag for internal use
Usage
VarDeclItem$getDeleteFlag()
Method delete()
delete the variable item
Usage
VarDeclItem$delete()
Method clone()
The objects of this class are cloneable with this method.
Usage
VarDeclItem$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
[Package rminizinc version 0.0.8 Index]