API documentation  2.0rc1
Public Member Functions | List of all members
client::DOMTokenList Class Reference

#include <clientlib.h>

Inherits client::Object.

Inherited by client::DOMSettableTokenList.

Public Member Functions

double get_length ()
 
template<typename... Args>
void add (Args &&... tokens)
 
void add ()
 
bool contains (const String &token)
 
Stringitem (double index)
 
template<typename... Args>
void remove (Args &&... tokens)
 
void remove ()
 
void replace (const String &oldToken, const String &newToken)
 
StringtoString ()
 
bool toggle (const String &token)
 
bool toggle (const String &token, bool force)
 
String *& operator[] (int index)
 
Stringoperator[] (int index) const
 
DOMTokenListget_prototype ()
 
void set_prototype (DOMTokenList *)
 
 DOMTokenList ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ DOMTokenList()

client::DOMTokenList::DOMTokenList ( )

Member Function Documentation

◆ add() [1/2]

template<typename... Args>
void client::DOMTokenList::add ( Args &&...  tokens)
inline

◆ add() [2/2]

void client::DOMTokenList::add ( )

◆ contains()

bool client::DOMTokenList::contains ( const String token)

◆ get_length()

double client::DOMTokenList::get_length ( )

◆ get_prototype()

DOMTokenList* client::DOMTokenList::get_prototype ( )

◆ item()

String* client::DOMTokenList::item ( double  index)

◆ operator[]() [1/2]

String*& client::DOMTokenList::operator[] ( int  index)
inline

◆ operator[]() [2/2]

String* client::DOMTokenList::operator[] ( int  index) const
inline

◆ remove() [1/2]

template<typename... Args>
void client::DOMTokenList::remove ( Args &&...  tokens)
inline

◆ remove() [2/2]

void client::DOMTokenList::remove ( )

◆ replace()

void client::DOMTokenList::replace ( const String oldToken,
const String newToken 
)

◆ set_prototype()

void client::DOMTokenList::set_prototype ( DOMTokenList )

◆ toggle() [1/2]

bool client::DOMTokenList::toggle ( const String token)

◆ toggle() [2/2]

bool client::DOMTokenList::toggle ( const String token,
bool  force 
)

◆ toString()

String* client::DOMTokenList::toString ( )