Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | Friends | List of all members
ui::AXEventIntent Struct Referencefinal

#include <ax_event_intent.h>

Public Member Functions

 AXEventIntent ()
 
 AXEventIntent (ax::mojom::Command command, ax::mojom::TextBoundary text_boundary, ax::mojom::MoveDirection move_direction)
 
virtual ~AXEventIntent ()
 
 AXEventIntent (const AXEventIntent &intent)
 
AXEventIntentoperator= (const AXEventIntent &intent)
 
std::string ToString () const
 

Public Attributes

ax::mojom::Command command = ax::mojom::Command::kType
 
ax::mojom::TextBoundary text_boundary = ax::mojom::TextBoundary::kCharacter
 
ax::mojom::MoveDirection move_direction = ax::mojom::MoveDirection::kForward
 

Friends

AX_BASE_EXPORT bool operator== (const AXEventIntent &a, const AXEventIntent &b)
 
AX_BASE_EXPORT bool operator!= (const AXEventIntent &a, const AXEventIntent &b)
 

Detailed Description

Definition at line 19 of file ax_event_intent.h.

Constructor & Destructor Documentation

◆ AXEventIntent() [1/3]

ui::AXEventIntent::AXEventIntent ( )
default

◆ AXEventIntent() [2/3]

ui::AXEventIntent::AXEventIntent ( ax::mojom::Command  command,
ax::mojom::TextBoundary  text_boundary,
ax::mojom::MoveDirection  move_direction 
)

Definition at line 13 of file ax_event_intent.cc.

ax::mojom::Command command
ax::mojom::TextBoundary text_boundary
ax::mojom::MoveDirection move_direction

◆ ~AXEventIntent()

ui::AXEventIntent::~AXEventIntent ( )
virtualdefault

◆ AXEventIntent() [3/3]

ui::AXEventIntent::AXEventIntent ( const AXEventIntent intent)
default

Member Function Documentation

◆ operator=()

AXEventIntent & ui::AXEventIntent::operator= ( const AXEventIntent intent)
default

◆ ToString()

std::string ui::AXEventIntent::ToString ( ) const

Definition at line 35 of file ax_event_intent.cc.

35 {
36 return std::string("AXEventIntent(") + ui::ToString(command) + ',' +
38}
const char * ToString(ax::mojom::Event event)
Definition: ax_enum_util.cc:9

Friends And Related Function Documentation

◆ operator!=

AX_BASE_EXPORT bool operator!= ( const AXEventIntent a,
const AXEventIntent b 
)
friend

Definition at line 31 of file ax_event_intent.cc.

31 {
32 return !(a == b);
33}
static bool b
struct MyStruct a[10]

◆ operator==

AX_BASE_EXPORT bool operator== ( const AXEventIntent a,
const AXEventIntent b 
)
friend

Definition at line 26 of file ax_event_intent.cc.

26 {
27 return a.command == b.command && a.text_boundary == b.text_boundary &&
28 a.move_direction == b.move_direction;
29}

Member Data Documentation

◆ command

ax::mojom::Command ui::AXEventIntent::command = ax::mojom::Command::kType

Definition at line 33 of file ax_event_intent.h.

◆ move_direction

ax::mojom::MoveDirection ui::AXEventIntent::move_direction = ax::mojom::MoveDirection::kForward

Definition at line 36 of file ax_event_intent.h.

◆ text_boundary

Definition at line 35 of file ax_event_intent.h.


The documentation for this struct was generated from the following files: