webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
egl::AttributeMap Class Referencefinal

#include <AttributeMap.h>

Public Types

typedef std::map< EGLAttrib, EGLAttrib >::const_iterator const_iterator
 

Public Member Functions

 AttributeMap ()
 
void insert (EGLAttrib key, EGLAttrib value)
 
bool contains (EGLAttrib key) const
 
EGLAttrib get (EGLAttrib key, EGLAttrib defaultValue) const
 
EGLint getAsInt (EGLAttrib key, EGLint defaultValue) const
 
bool isEmpty () const
 
std::vector< EGLinttoIntVector () const
 
const_iterator begin () const
 
const_iterator end () const
 

Static Public Member Functions

static AttributeMap CreateFromIntArray (const EGLint *attributes)
 
static AttributeMap CreateFromAttribArray (const EGLAttrib *attributes)
 

Member Typedef Documentation

◆ const_iterator

Constructor & Destructor Documentation

◆ AttributeMap()

egl::AttributeMap::AttributeMap ( )

Member Function Documentation

◆ begin()

AttributeMap::const_iterator egl::AttributeMap::begin ( ) const

◆ contains()

bool egl::AttributeMap::contains ( EGLAttrib  key) const

◆ CreateFromAttribArray()

AttributeMap egl::AttributeMap::CreateFromAttribArray ( const EGLAttrib attributes)
static

◆ CreateFromIntArray()

AttributeMap egl::AttributeMap::CreateFromIntArray ( const EGLint attributes)
static

◆ end()

AttributeMap::const_iterator egl::AttributeMap::end ( ) const

◆ get()

EGLAttrib egl::AttributeMap::get ( EGLAttrib  key,
EGLAttrib  defaultValue 
) const

◆ getAsInt()

EGLint egl::AttributeMap::getAsInt ( EGLAttrib  key,
EGLint  defaultValue 
) const

◆ insert()

void egl::AttributeMap::insert ( EGLAttrib  key,
EGLAttrib  value 
)

◆ isEmpty()

bool egl::AttributeMap::isEmpty ( void  ) const

◆ toIntVector()

std::vector< EGLint > egl::AttributeMap::toIntVector ( ) const

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