
An array of IdxView pairs. More...
#include <idx-view.hh>
Public Member Functions | |
| IdxViewArray (void) | |
| Default constructor. More... | |
| IdxViewArray (const IdxViewArray< View > &) | |
| Copy constructor. More... | |
| IdxViewArray (Space &home, const typename ViewToVarArg< View >::argtype &x) | |
| Construct an IdxViewArray from x. More... | |
| IdxViewArray (Space &home, int n) | |
| Construct an IdxViewArray of size n. More... | |
| int | size (void) const |
| Return the current size. More... | |
| void | size (int n) |
| Set the size to n. More... | |
| IdxView< View > & | operator[] (int n) |
| Access element n. More... | |
| const IdxView< View > & | operator[] (int) const |
| Access element n. More... | |
| void | subscribe (Space &home, Propagator &p, PropCond pc, bool process=true) |
| void | cancel (Space &home, Propagator &p, PropCond pc) |
| void | update (Space &home, bool share, IdxViewArray< View > &x) |
| Cloning. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| template<class Char , class Traits , class View > | |
| std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const IdxViewArray< View > &x) |
| Print array elements enclosed in curly brackets. More... | |
An array of IdxView pairs.
Definition at line 71 of file idx-view.hh.
|
inline |
Default constructor.
Definition at line 71 of file idx-view.hpp.
|
inline |
Copy constructor.
Definition at line 75 of file idx-view.hpp.
|
inline |
Construct an IdxViewArray from x.
Definition at line 81 of file idx-view.hpp.
|
inline |
Construct an IdxViewArray of size n.
Definition at line 94 of file idx-view.hpp.
|
inline |
Return the current size.
Definition at line 103 of file idx-view.hpp.
|
inline |
Set the size to n.
Definition at line 109 of file idx-view.hpp.
|
inline |
Access element n.
Definition at line 115 of file idx-view.hpp.
|
inline |
Access element n.
Definition at line 122 of file idx-view.hpp.
|
inline |
Subscribe propagator p with propagation condition pc to all elements of the array.
Definition at line 129 of file idx-view.hpp.
|
inline |
Cancel subscription of propagator p with propagation condition pc for all elements of the array.
Definition at line 137 of file idx-view.hpp.
|
inline |
Cloning.
Definition at line 144 of file idx-view.hpp.
|
related |
Print array elements enclosed in curly brackets.
Definition at line 158 of file idx-view.hpp.