Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GrTFlagsMask< TFlags > Class Template Reference

Wraps a C++11 enum that we use as a bitfield, and enables a limited amount of masking with type safety. More...

#include <GrTypes.h>

Public Member Functions

constexpr GrTFlagsMask (TFlags value)
 
constexpr GrTFlagsMask (int value)
 
constexpr int value () const
 

Private Attributes

const int fValue
 

Detailed Description

template<typename TFlags>
class GrTFlagsMask< TFlags >

Wraps a C++11 enum that we use as a bitfield, and enables a limited amount of masking with type safety.

Instantiated with the ~ operator.


The documentation for this class was generated from the following file: