Namespaces
Enumerations
enum DumpStatus
| Name | Value |
|---|---|
| Success | 0 |
| Failure | 1 |
Defined at line 14 of file ../../src/ui/scenic/lib/view_tree/snapshot_dump.h
Records
Functions
-
std::shared_ptr<view_tree::Snapshot> TwoNodeSnapshot ()Creates a snapshot with the following two-node topology:
A
|
B
Defined at line 11 of file ../../src/ui/scenic/lib/view_tree/tests/utils.cc
-
std::shared_ptr<const view_tree::Snapshot> ThreeNodeSnapshot ()Creates a snapshot with the following three-node topology:
A
|
B
|
C
Defined at line 21 of file ../../src/ui/scenic/lib/view_tree/tests/utils.cc
-
std::shared_ptr<const view_tree::Snapshot> FourNodeSnapshot ()Creates a snapshot with the following four-node topology:
A
/
\
// B C
|
D
Defined at line 33 of file ../../src/ui/scenic/lib/view_tree/tests/utils.cc
-
std::shared_ptr<const view_tree::Snapshot> SingleDepthViewTreeSnapshot (uint64_t total_nodes)Creates a snapshot having a view tree with depth 1 and |total_nodes| - 1 leaf nodes. Eg:- The
view tree will have the following topology when |total_nodes| is 5:
A
/ /
\
\
// B C D E
Note: |total_nodes| cannot be 0.
Defined at line 46 of file ../../src/ui/scenic/lib/view_tree/tests/utils.cc
-
std::ostream & operator<< (std::ostream & os, const ViewNode & node)Defined at line 116 of file ../../src/ui/scenic/lib/view_tree/snapshot_types.cc
-
std::ostream & operator<< (std::ostream & osconst Snapshot & snapshot)Defined at line 154 of file ../../src/ui/scenic/lib/view_tree/snapshot_types.cc