Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose dbRecursiveShapeIterator::next(RecursiveShapeReceiver*) #1868

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/db/db/dbRecursiveShapeIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,15 @@ class DB_PUBLIC RecursiveShapeIterator
next (0);
}

/**
* @brief Increments the iterator with `RecursiveShapeReceiver` customization
*
* This combines the flexibility of pull-based iteration with the
* extra notifications and iteration control provided by
* `RecursiveShapeReceiver`.
*/
void next (RecursiveShapeReceiver *receiver);

/**
* @brief Comparison of iterators - equality
*/
Expand Down Expand Up @@ -881,7 +890,6 @@ class DB_PUBLIC RecursiveShapeIterator
void skip_inst_iter_for_complex_region () const;
void validate (RecursiveShapeReceiver *receiver) const;
void start_shapes () const;
void next (RecursiveShapeReceiver *receiver);
void next_shape (RecursiveShapeReceiver *receiver) const;
void new_inst (RecursiveShapeReceiver *receiver) const;
void new_inst_member (RecursiveShapeReceiver *receiver) const;
Expand Down
Loading