webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WebCore::CollectionIndexCache< Collection, Iterator > Class Template Reference

#include <CollectionIndexCache.h>

Public Types

typedef std::iterator_traits< Iterator >::value_type NodeType
 
typedef std::iterator_traits< Iterator >::value_type NodeType
 

Public Member Functions

 CollectionIndexCache (const Collection &)
 
unsigned nodeCount (const Collection &)
 
NodeTypenodeAt (const Collection &, unsigned index)
 
bool hasValidCache (const Collection &collection) const
 
void invalidate (const Collection &)
 
size_t memoryCost ()
 
 CollectionIndexCache (const Collection &)
 
unsigned nodeCount (const Collection &)
 
NodeTypenodeAt (const Collection &, unsigned index)
 
bool hasValidCache (const Collection &collection) const
 
void invalidate (const Collection &)
 
size_t memoryCost ()
 

Member Typedef Documentation

◆ NodeType [1/2]

template<class Collection, class Iterator>
typedef std::iterator_traits<Iterator>::value_type WebCore::CollectionIndexCache< Collection, Iterator >::NodeType

◆ NodeType [2/2]

template<class Collection, class Iterator>
typedef std::iterator_traits<Iterator>::value_type WebCore::CollectionIndexCache< Collection, Iterator >::NodeType

Constructor & Destructor Documentation

◆ CollectionIndexCache() [1/2]

template<class Collection, class Iterator >
WebCore::CollectionIndexCache< Collection, Iterator >::CollectionIndexCache ( const Collection &  collection)
inlineexplicit

◆ CollectionIndexCache() [2/2]

template<class Collection, class Iterator>
WebCore::CollectionIndexCache< Collection, Iterator >::CollectionIndexCache ( const Collection &  )
explicit

Member Function Documentation

◆ hasValidCache() [1/2]

template<class Collection, class Iterator>
bool WebCore::CollectionIndexCache< Collection, Iterator >::hasValidCache ( const Collection &  collection) const
inline

◆ hasValidCache() [2/2]

template<class Collection, class Iterator>
bool WebCore::CollectionIndexCache< Collection, Iterator >::hasValidCache ( const Collection &  collection) const
inline

◆ invalidate() [1/2]

template<class Collection, class Iterator >
void WebCore::CollectionIndexCache< Collection, Iterator >::invalidate ( const Collection &  collection)

◆ invalidate() [2/2]

template<class Collection, class Iterator>
void WebCore::CollectionIndexCache< Collection, Iterator >::invalidate ( const Collection &  )

◆ memoryCost() [1/2]

template<class Collection, class Iterator>
size_t WebCore::CollectionIndexCache< Collection, Iterator >::memoryCost ( )
inline

◆ memoryCost() [2/2]

template<class Collection, class Iterator>
size_t WebCore::CollectionIndexCache< Collection, Iterator >::memoryCost ( )
inline

◆ nodeAt() [1/2]

template<class Collection, class Iterator>
NodeType* WebCore::CollectionIndexCache< Collection, Iterator >::nodeAt ( const Collection &  ,
unsigned  index 
)

◆ nodeAt() [2/2]

template<class Collection, class Iterator >
CollectionIndexCache< Collection, Iterator >::NodeType * WebCore::CollectionIndexCache< Collection, Iterator >::nodeAt ( const Collection &  collection,
unsigned  index 
)
inline

◆ nodeCount() [1/2]

template<class Collection, class Iterator >
unsigned WebCore::CollectionIndexCache< Collection, Iterator >::nodeCount ( const Collection &  collection)
inline

◆ nodeCount() [2/2]

template<class Collection, class Iterator>
unsigned WebCore::CollectionIndexCache< Collection, Iterator >::nodeCount ( const Collection &  )

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