Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Macros
SkTInternalLList.h File Reference
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkTo.h"

Go to the source code of this file.

Classes

class  SkTInternalLList< T >
 
class  SkTInternalLList< T >::Iter
 

Macros

#define SK_DECLARE_INTERNAL_LLIST_INTERFACE(ClassName)
 

Macro Definition Documentation

◆ SK_DECLARE_INTERNAL_LLIST_INTERFACE

#define SK_DECLARE_INTERNAL_LLIST_INTERFACE (   ClassName)
Value:
friend class SkTInternalLList<ClassName>; \
/* back pointer to the owning list - for debugging */ \
SkDEBUGCODE(SkTInternalLList<ClassName>* fList = nullptr;) \
ClassName* fPrev = nullptr; \
ClassName* fNext = nullptr
Instance * fNext

This macro creates the member variables required by the SkTInternalLList class. It should be placed in the private section of any class that will be stored in a double linked list.

Definition at line 19 of file SkTInternalLList.h.