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

Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes

pan::Numbers Class Reference
[Usenet Utilities]

#include <numbers.h>

List of all members.

Classes

struct  Range

Public Types

typedef std::vector< Rangeranges_t

Public Member Functions

void clear ()
void clip (const unsigned long low, const unsigned long high)
bool from_string (const char *)
bool is_marked (const unsigned long) const
bool mark_one (unsigned long number, bool add=true)
unsigned long mark_range (unsigned long low, unsigned long high, bool add=true)
void mark_str (const StringView &str, bool add=true)
 operator std::string () const
bool operator== (const Numbers &that) const
std::string to_string () const
void to_string (std::string &setme) const

Private Member Functions

unsigned long mark_range (const Range &)
unsigned long unmark_range (const Range &)

Private Attributes

ranges_t _marked

Detailed Description

Builds a range of numbers. Used for reading/writing newsrc strings.

Definition at line 35 of file numbers.h.


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

Generated by  Doxygen 1.6.0   Back to index