Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Classes  ·  Annotées  ·  Hiérarchie  ·  Fonctions  ·  Structure  · 

QGCache Class Reference


The QGCache class is an internal class for implementing QCache template classes. More...

#include <qgcache.h>

Inherits QCollection.

Inherited by QAsciiCache, QCache and QIntCache.

List of all member functions.

Protected Members

  • enum KeyType { StringKey, AsciiKey, IntKey, PtrKey }
  • QGCache ( int maxCost, uint size, KeyType kt, bool caseSensitive, bool copyKeys ) (internal)
  • QGCache ( const QGCache & ) (internal)
  • ~QGCache () (internal)
  • QGCache& operator= ( const QGCache & ) (internal)
  • virtual uint count () const (internal)
  • uint size () const (internal)
  • int maxCost () const (internal)
  • int totalCost () const (internal)
  • void setMaxCost ( int maxCost ) (internal)
  • virtual void clear () (internal)
  • bool insert_string ( const QString & key, QCollection::Item, int cost, int priority ) (internal)
  • bool insert_other ( const char * key, QCollection::Item, int cost, int priority ) (internal)
  • bool remove_string ( const QString & key ) (internal)
  • bool remove_other ( const char * key ) (internal)
  • QCollection::Item take_string ( const QString & key ) (internal)
  • QCollection::Item take_other ( const char * key ) (internal)
  • QCollection::Item find_string ( const QString & key, bool ref=TRUE ) const (internal)
  • QCollection::Item find_other ( const char * key, bool ref=TRUE ) const (internal)
  • void statistics () const (internal)

Detailed Description

The QGCache class is an internal class for implementing QCache template classes.

QGCache is a strictly internal class that acts as a base class for the collection classes QCache and QIntCache.


Member Function Documentation

QGCache::QGCache ( const QGCache & ) [protected]

For internal use only.

QGCache::QGCache ( int maxCost, uint size, KeyType kt, bool caseSensitive, bool copyKeys ) [protected]

For internal use only.

QGCache::~QGCache () [protected]

For internal use only.

void QGCache::clear () [virtual protected]

For internal use only.

Reimplemented from QCollection.

uint QGCache::count () const [virtual protected]

For internal use only.

Reimplemented from QCollection.

QCollection::Item QGCache::find_other( const char * key, bool ref=TRUE ) const [protected]

For internal use only.

QCollection::Item QGCache::find_string( const QString & key, bool ref=TRUE ) const [protected]

For internal use only.

bool QGCache::insert_other ( const char * key, QCollection::Item data, int cost, int priority ) [protected]

For internal use only.

bool QGCache::insert_string ( const QString & key, QCollection::Item data, int cost, int priority ) [protected]

For internal use only.

int QGCache::maxCost () const [protected]

For internal use only.

QGCache & QGCache::operator= ( const QGCache & ) [protected]

For internal use only.

bool QGCache::remove_other ( const char * key ) [protected]

For internal use only.

bool QGCache::remove_string ( const QString & key ) [protected]

For internal use only.

void QGCache::setMaxCost ( int maxCost ) [protected]

For internal use only.

uint QGCache::size () const [protected]

For internal use only.

void QGCache::statistics () const [protected]

For internal use only.

QCollection::Item QGCache::take_other( const char * key ) [protected]

For internal use only.

QCollection::Item QGCache::take_string( const QString & key ) [protected]

For internal use only.

int QGCache::totalCost () const [protected]

For internal use only.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2005 Trolltech, all rights reserved.

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 53
  2. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  3. Apercevoir la troisième dimension ou l'utilisation multithreadée d'OpenGL dans Qt, un article des Qt Quarterly traduit par Guillaume Belz 0
  4. BlackBerry 10 : premières images du prochain OS de RIM qui devrait intégrer des widgets et des tuiles inspirées de Windows Phone 0
  5. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  6. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
  7. La rubrique Qt a besoin de vous ! 1
Page suivante

Le Qt Quarterly au hasard

Logo

XQuery et la météo

Qt Quarterly est la revue trimestrielle proposée par Nokia et à destination des développeurs Qt. Ces articles d'une grande qualité technique sont rédigés par des experts Qt. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 2.3
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web