Ion
|
Traverses the hierarchy in pre-order. More...
#include "timeline.h"
Public Member Functions | |
const_iterator (const TimelineNode *node, const TimelineNode *root) | |
const TimelineNode * | operator* () const |
const_iterator | operator++ () |
Copyright 2016 Google Inc. More... | |
bool | operator== (const const_iterator &other) const |
bool | operator!= (const const_iterator &other) const |
Traverses the hierarchy in pre-order.
Events are visited in increasing begin-timestamp order.
Definition at line 56 of file timeline.h.
|
inline |
Definition at line 58 of file timeline.h.
|
inline |
Definition at line 65 of file timeline.h.
|
inline |
Definition at line 60 of file timeline.h.
Timeline::const_iterator Timeline::const_iterator::operator++ | ( | ) |
Copyright 2016 Google Inc.
All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.Pre-order traversal with back-tracking. We don't use a stack here to keep the iterator light-weight and fast to copy, because some STL algorithms assume this.
Definition at line 26 of file timeline.cc.
References CHECK, TimelineNode::GetChildren(), and TimelineNode::GetParent().
|
inline |
Definition at line 62 of file timeline.h.