#include <ax_tree_id.h>
Definition at line 18 of file ax_tree_id.h.
◆ AXTreeID() [1/2]
ui::AXTreeID::AXTreeID |
( |
| ) |
|
◆ AXTreeID() [2/2]
ui::AXTreeID::AXTreeID |
( |
const AXTreeID & |
other | ) |
|
|
default |
◆ CreateNewAXTreeID()
AXTreeID ui::AXTreeID::CreateNewAXTreeID |
( |
| ) |
|
|
static |
◆ FromString()
AXTreeID ui::AXTreeID::FromString |
( |
const std::string & |
string | ) |
|
|
static |
◆ FromToken()
Definition at line 42 of file ax_tree_id.cc.
42 {
44}
const std::optional< base::SimpleToken > & token() const
◆ operator!=()
bool ui::AXTreeID::operator!= |
( |
const AXTreeID & |
rhs | ) |
const |
Definition at line 74 of file ax_tree_id.cc.
74 {
75 return !(*this == rhs);
76}
◆ operator<()
bool ui::AXTreeID::operator< |
( |
const AXTreeID & |
rhs | ) |
const |
Definition at line 78 of file ax_tree_id.cc.
78 {
79 return std::tie(type_, token_) < std::tie(rhs.type_, rhs.token_);
80}
◆ operator<=()
bool ui::AXTreeID::operator<= |
( |
const AXTreeID & |
rhs | ) |
const |
Definition at line 82 of file ax_tree_id.cc.
82 {
83 return std::tie(type_, token_) <= std::tie(rhs.type_, rhs.token_);
84}
◆ operator=()
◆ operator==()
bool ui::AXTreeID::operator== |
( |
const AXTreeID & |
rhs | ) |
const |
Definition at line 70 of file ax_tree_id.cc.
70 {
71 return type_ == rhs.type_ && token_ == rhs.token_;
72}
◆ operator>()
bool ui::AXTreeID::operator> |
( |
const AXTreeID & |
rhs | ) |
const |
Definition at line 86 of file ax_tree_id.cc.
86 {
87 return !(*this <= rhs);
88}
◆ operator>=()
bool ui::AXTreeID::operator>= |
( |
const AXTreeID & |
rhs | ) |
const |
Definition at line 90 of file ax_tree_id.cc.
90 {
91 return !(*this < rhs);
92}
◆ token()
◆ ToString()
std::string ui::AXTreeID::ToString |
( |
| ) |
const |
Definition at line 53 of file ax_tree_id.cc.
53 {
54 switch (type_) {
56 return "";
59 }
60
62 return std::string();
63}
std::string SimpleTokenToValue(const SimpleToken &token)
#define BASE_UNREACHABLE()
◆ type()
◆ base::NoDestructor< AXTreeID >
◆ swap
Definition at line 65 of file ax_tree_id.cc.
65 {
68}
void swap(sk_sp< T > &a, sk_sp< T > &b)
The documentation for this class was generated from the following files: