NuSMV/code/nusmv/core/utils/NodeList.h File Reference
#include "nusmv/core/node/node.h"
#include "nusmv/core/utils/utils.h"
#include "nusmv/core/node/printers/MasterPrinter.h"
Go to the source code of this file.
Define Documentation
#define NODE_LIST_CHECK_INSTANCE |
( |
x |
|
) |
(nusmv_assert(NODE_LIST(x) != NODE_LIST(NULL))) |
#define NODE_LIST_FOREACH |
( |
list, |
|
|
iter |
|
) |
|
Value:for (iter=NodeList_get_first_iter(list); !ListIter_is_end(iter); \
iter=ListIter_get_next(iter))
- Todo:
- Missing synopsis
- Todo:
- Missing description
Typedef Documentation
Used when calling method foreach.
Must be a pointer to a user-defined function. This function gets:
- the list which method foreach iterates on
- the iterator pointing to the current element in the list
- user data, passed to method foreach
Must return true to continue iteration, false to interrupt it
A type of a predicate function used by NodeList_search.
The function should returns true iff a given element "corresponds" to 'arg'. 'arg' can be any datastructure.
Function Documentation
Returns the end iterator.