ACT Library
Loading...
Searching...
No Matches
Classes | Macros
iter.h File Reference

This contains the implementation of a number of C++ iterators to make it easier to walk through an ACT data structure. More...

#include <act/namespaces.h>
#include <iterator>

Go to the source code of this file.

Classes

class  ActNamespaceiter
 This is an iterator that, when passed an ActNamespace pointer, allows you to iterate through nested namespaces within the specified namespace. More...
 
class  ActInstiter
 This is an iterator that, when passed a Scope pointer, allows you to iterate through all instances within the Scope. Note that if two instances are connected to each other, they will both be visited by the iterator. More...
 
class  ActConniter
 This is an iterator that, when passed an act_connection pointer, allows you to iterate through all the connections made to this particular connection pointer. More...
 
class  ActTypeiter
 This is an iterator that, when passed an ActNamespace pointer, allows you to iterate through all user-defined types that were defined within the namespace. More...
 
class  ActUniqProcInstiter
 This is an iterator that, when passed a Scope pointer, allows you to iterate through all the uinque process instances within the scope. More...
 

Macros

#define ACTSTDITER(name, rettype)
 

Detailed Description

This contains the implementation of a number of C++ iterators to make it easier to walk through an ACT data structure.

Macro Definition Documentation

◆ ACTSTDITER

#define ACTSTDITER (   name,
  rettype 
)
Value:
name (const name & c); \
name& operator=(const name & c) = default; \
name& operator++(); \
name operator++(int); \
bool operator==(const name& rhs) const; \
bool operator!=(const name& rhs) const; \
rettype operator*(); \
name begin(); \
name end()