Detail Namespace Reference


Detailed Description

Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net>.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Classes

class  Chunk
struct  ChunkMapIndices
struct  ChunkMap
struct  AvailIter
struct  ScoreExtractor
 Unary function object for extracting a requests score. More...
struct  RequestIndex
 Indexes for request maps. More...
struct  UploadReqMap
struct  DownloadReqMap
struct  ConnReqMap
struct  InitializerBase
 Base class for built-modules system; not to be used directly. More...
struct  Initializer
 Specific initializer class for built-in modules; not to be used directly by user code. More...
class  UsedRange
 Range marked as "in use". More...
class  LockedRange
 LockedRange object is an exclusivly locked Range in PartData. More...

Typedefs

typedef ChunkMap::nth_index<
Detail::ID_Avail >::type 
CMAvailIndex
typedef ChunkMap::nth_index<
Detail::ID_Pos >::type 
CMPosIndex
typedef ChunkMap::nth_index<
Detail::ID_Verified >::type 
CMVerIndex
typedef ChunkMap::nth_index<
Detail::ID_Partial >::type 
CMPartIndex
typedef ChunkMap::nth_index<
Detail::ID_UseCnt >::type 
CMUseIndex
typedef ChunkMap::nth_index<
Detail::ID_Length >::type 
CMLenIndex
typedef boost::shared_ptr<
UsedRange
UsedRangePtr
typedef boost::shared_ptr<
LockedRange
LockedRangePtr

Enumerations

enum  {
  ID_Pos, ID_Verified, ID_Partial, ID_Avail,
  ID_UseCnt, ID_Length
}

Typedef Documentation

typedef ChunkMap::nth_index<Detail::ID_Avail >::type Detail::CMAvailIndex
 

Definition at line 158 of file partdata.cpp.

typedef ChunkMap::nth_index<Detail::ID_Length >::type Detail::CMLenIndex
 

Definition at line 163 of file partdata.cpp.

typedef ChunkMap::nth_index<Detail::ID_Partial >::type Detail::CMPartIndex
 

Definition at line 161 of file partdata.cpp.

typedef ChunkMap::nth_index<Detail::ID_Pos >::type Detail::CMPosIndex
 

Definition at line 159 of file partdata.cpp.

typedef ChunkMap::nth_index<Detail::ID_UseCnt >::type Detail::CMUseIndex
 

Definition at line 162 of file partdata.cpp.

typedef ChunkMap::nth_index<Detail::ID_Verified>::type Detail::CMVerIndex
 

Definition at line 160 of file partdata.cpp.

typedef boost::shared_ptr<LockedRange> Detail::LockedRangePtr
 

Definition at line 66 of file hnfwd.h.

typedef boost::shared_ptr<UsedRange > Detail::UsedRangePtr
 

Definition at line 65 of file hnfwd.h.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
ID_Pos 
ID_Verified 
ID_Partial 
ID_Avail 
ID_UseCnt 
ID_Length 

Definition at line 156 of file partdata.cpp.