p2p::list Class Reference

Public Types

enum  file_type {
  file_auto, file_p2p, file_p2b1, file_p2b2,
  file_p2b3, file_p2b = file_p2b3
}
typedef range range_type
typedef std::list< range_typelist_type
typedef list_type::size_type size_type
typedef list_type::iterator iterator
typedef list_type::const_iterator const_iterator
typedef std::istream istream_type
typedef std::ostream ostream_type
typedef std::string path_type

Public Member Functions

void insert (const range &r)
void insert (const list &l)
void erase (const range &r)
void erase (const class compact_list &l)
void optimize (bool aggressive=false)
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
size_type size () const
void clear ()
void load (istream_type &stream, file_type type=file_auto)
void load (const path_type &file, file_type type=file_auto)
void save (ostream_type &stream, file_type type) const
void save (const path_type &file, file_type type) const
 list (const path_type &file, file_type type=file_auto)
 list (istream_type &stream, file_type type=file_auto)

The documentation for this class was generated from the following files:
Generated on Thu Aug 5 12:42:37 2010 for CP2PListLibrary by  doxygen 1.6.3