Flutter Engine
The Flutter Engine
Macros
macros.h File Reference

Go to the source code of this file.

Macros

#define FML_EMBEDDER_ONLY   [[deprecated]]
 
#define FML_DISALLOW_COPY(TypeName)   TypeName(const TypeName&) = delete
 
#define FML_DISALLOW_ASSIGN(TypeName)    TypeName& operator=(const TypeName&) = delete
 
#define FML_DISALLOW_MOVE(TypeName)
 
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
 
#define FML_DISALLOW_COPY_ASSIGN_AND_MOVE(TypeName)
 
#define FML_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
 
#define FML_FRIEND_TEST(test_case_name, test_name)    friend class test_case_name##_##test_name##_Test
 

Macro Definition Documentation

◆ FML_DISALLOW_ASSIGN

#define FML_DISALLOW_ASSIGN (   TypeName)     TypeName& operator=(const TypeName&) = delete

Definition at line 20 of file macros.h.

◆ FML_DISALLOW_COPY

#define FML_DISALLOW_COPY (   TypeName)    TypeName(const TypeName&) = delete

Definition at line 18 of file macros.h.

◆ FML_DISALLOW_COPY_AND_ASSIGN

#define FML_DISALLOW_COPY_AND_ASSIGN (   TypeName)
Value:
TypeName(const TypeName&) = delete; \
TypeName& operator=(const TypeName&) = delete

Definition at line 27 of file macros.h.

◆ FML_DISALLOW_COPY_ASSIGN_AND_MOVE

#define FML_DISALLOW_COPY_ASSIGN_AND_MOVE (   TypeName)
Value:
TypeName(const TypeName&) = delete; \
TypeName(TypeName&&) = delete; \
TypeName& operator=(const TypeName&) = delete; \
TypeName& operator=(TypeName&&) = delete

Definition at line 31 of file macros.h.

◆ FML_DISALLOW_IMPLICIT_CONSTRUCTORS

#define FML_DISALLOW_IMPLICIT_CONSTRUCTORS (   TypeName)
Value:
TypeName() = delete; \
FML_DISALLOW_COPY_ASSIGN_AND_MOVE(TypeName)

Definition at line 37 of file macros.h.

◆ FML_DISALLOW_MOVE

#define FML_DISALLOW_MOVE (   TypeName)
Value:
TypeName(TypeName&&) = delete; \
TypeName& operator=(TypeName&&) = delete

Definition at line 23 of file macros.h.

◆ FML_EMBEDDER_ONLY

#define FML_EMBEDDER_ONLY   [[deprecated]]

Definition at line 10 of file macros.h.

◆ FML_FRIEND_TEST

#define FML_FRIEND_TEST (   test_case_name,
  test_name 
)     friend class test_case_name##_##test_name##_Test

Definition at line 41 of file macros.h.