Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Namespaces | Macros | Functions
Flags.hpp File Reference

Go to the source code of this file.

Classes

class  vl::Flags< T_FlagEnum >
 Simple class to manage flags in a type safe manner. More...
 

Namespaces

 vl
 Visualization Library main namespace.
 

Macros

#define VL_DECLARE_FLAGS(EnumType, FlagTypeName)
 

Functions

template<typename T >
Flags< T > vl::operator| (T flag1, T flag2)
 
template<typename T >
Flags< T > vl::operator & (T flag1, T flag2)
 

Macro Definition Documentation

◆ VL_DECLARE_FLAGS

#define VL_DECLARE_FLAGS (   EnumType,
  FlagTypeName 
)
Value:
template<EnumType> Flags<EnumType> operator|(EnumType flag1, EnumType flag2); \
template<EnumType> Flags<EnumType> operator&(EnumType flag1, EnumType flag2); \
typedef Flags<EnumType> FlagTypeName;
Flags< T > operator|(T flag1, T flag2)
Definition: Flags.hpp:144
Flags< T > operator &(T flag1, T flag2)
Definition: Flags.hpp:152

Definition at line 160 of file Flags.hpp.