Workspace 6.21.5
Public Member Functions | List of all members
WSGLGlyphSetCache Class Reference

#include <Rendering/OpenGL/wsglglyphsetcache.h>

Inheritance diagram for WSGLGlyphSetCache:
[legend]

Public Member Functions

 WSGLGlyphSetCache (int capacityKb)
 
- Public Member Functions inherited from ExpiryCache< QString, WSGLGlyphSuperSet >
 ExpiryCache (int capacity=100)
 
virtual ~ExpiryCache ()
 
int capacity () const
 
void clear ()
 
bool contains (const QString &key) const
 
int count () const
 
bool insert (const QString &key, const PtrType &item, int cost=0)
 
bool isEmpty () const
 
PtrType object (const QString &key) const
 
PtrType operator[] (const QString &key) const
 
void setCapacity (int capacity)
 
int size () const
 
PtrType take (const QString &key)
 
int totalCost () const
 

Additional Inherited Members

- Public Types inherited from ExpiryCache< QString, WSGLGlyphSuperSet >
typedef WSGLGlyphSuperSet ItemType
 
using PtrType = QSharedPointer< WSGLGlyphSuperSet >
 
using WeakPtrType = QWeakPointer< WSGLGlyphSuperSet >
 

Constructor & Destructor Documentation

◆ WSGLGlyphSetCache()

WSGLGlyphSetCache ( int  capacityKb)
inline