Logo Search packages:      
Sourcecode: pan version File versions  Download package

Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

pan::DataImpl::ReadGroup Struct Reference

Collaboration diagram for pan::DataImpl::ReadGroup:
Collaboration graph

List of all members.


struct  Server

Public Types

typedef Loki::AssocVector
< Quark, Server

Public Member Functions

void decrement_count (unsigned long dec)
void decrement_unread (unsigned long dec)
Serverfind_server (const Quark &s)
const Serverfind_server (const Quark &s) const
Serveroperator[] (const Quark &s)

Static Public Member Functions

static void decrement_safe (unsigned long &lhs, unsigned long dec)

Public Attributes

unsigned long _article_count
servers_t _servers
unsigned long _unread_count

Detailed Description

Represents a newsgroup that's been read.

Since most groups are never read, the `read' fields are separated out into this structure, so that it can be instantiated on demand. Since most news servers have tens of thousands of newsgroups, this represents a big memory savings.

This private class should only be used by code in the data-impl module.

Definition at line 192 of file data-impl.h.

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

Generated by  Doxygen 1.6.0   Back to index