v8  3.11.10(node0.8.26)
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 955 of file utils.h.

Constructor & Destructor Documentation

EnumSet ( T  bits = 0)
inlineexplicit

Definition at line 957 of file utils.h.

Member Function Documentation

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

Definition at line 964 of file utils.h.

bool Contains ( element) const
inline

Definition at line 959 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 958 of file utils.h.

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

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

Definition at line 970 of file utils.h.

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

Definition at line 966 of file utils.h.

void RemoveAll ( )
inline

Definition at line 967 of file utils.h.

T ToIntegral ( ) const
inline

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