v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EnumSet< E, T > Class Template Reference

#include <utils.h>

Public Member Functions

 EnumSet (T bits=0)
 
bool IsEmpty () const
 
bool Contains (E element) const
 
bool ContainsAnyOf (const EnumSet &set) const
 
void Add (E element)
 
void Add (const EnumSet &set)
 
void Remove (E element)
 
void Remove (const EnumSet &set)
 
void RemoveAll ()
 
void Intersect (const EnumSet &set)
 
T ToIntegral () const
 
bool operator== (const EnumSet &set)
 

Detailed Description

template<class E, class T = int>
class v8::internal::EnumSet< E, T >

Definition at line 965 of file utils.h.

Constructor & Destructor Documentation

EnumSet ( T  bits = 0)
inlineexplicit

Definition at line 967 of file utils.h.

Member Function Documentation

void Add ( element)
inline
void Add ( const EnumSet< E, T > &  set)
inline

Definition at line 974 of file utils.h.

bool Contains ( element) const
inline

Definition at line 969 of file utils.h.

Referenced by HValue::CheckGVNFlag(), and ToBooleanStub::Types::Contains().

bool ContainsAnyOf ( const EnumSet< E, T > &  set) const
inline
void Intersect ( const EnumSet< E, T > &  set)
inline
bool IsEmpty ( ) const
inline

Definition at line 968 of file utils.h.

Referenced by ToBooleanStub::Types::IsEmpty(), and HValue::PrintChangesTo().

bool operator== ( const EnumSet< E, T > &  set)
inline

Definition at line 980 of file utils.h.

void Remove ( element)
inline
void Remove ( const EnumSet< E, T > &  set)
inline

Definition at line 976 of file utils.h.

void RemoveAll ( )
inline

Definition at line 977 of file utils.h.

T ToIntegral ( ) const
inline

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