#include <SkSLProgram.h>
Definition at line 77 of file SkSLProgram.h.
◆ operator!=()
bool SkSL::Program::ElementsCollection::iterator::operator!= |
( |
const iterator & |
other | ) |
const |
|
inline |
Definition at line 100 of file SkSLProgram.h.
100 {
101 return !(*this == other);
102 }
◆ operator*()
const ProgramElement * SkSL::Program::ElementsCollection::iterator::operator* |
( |
| ) |
|
|
inline |
Definition at line 79 of file SkSLProgram.h.
79 {
80 if (fShared != fSharedEnd) {
81 return *fShared;
82 } else {
83 return fOwned->get();
84 }
85 }
◆ operator++()
iterator & SkSL::Program::ElementsCollection::iterator::operator++ |
( |
| ) |
|
|
inline |
Definition at line 87 of file SkSLProgram.h.
87 {
88 if (fShared != fSharedEnd) {
89 ++fShared;
90 } else {
91 ++fOwned;
92 }
93 return *this;
94 }
◆ operator==()
bool SkSL::Program::ElementsCollection::iterator::operator== |
( |
const iterator & |
other | ) |
const |
|
inline |
Definition at line 96 of file SkSLProgram.h.
96 {
97 return fOwned == other.fOwned && fShared == other.fShared;
98 }
◆ ElementsCollection
The documentation for this class was generated from the following file: