libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgFLCache Class Reference

#include <filelist.h>

Collaboration diagram for pkgFLCache:

Classes

struct  ConfFile
 
struct  Directory
 
class  DirIterator
 
class  DiverIterator
 
struct  Diversion
 
struct  Header
 
struct  Node
 
class  NodeIterator
 
struct  Package
 
class  PkgIterator
 

Public Member Functions

 pkgFLCache (DynamicMMap &Map)
 
bool AddConfFile (const char *Name, const char *NameEnd, PkgIterator const &Owner, const unsigned char *Sum)
 
bool AddDiversion (PkgIterator const &Owner, const char *From, const char *To)
 
void BeginDiverLoad ()
 
DiverIterator DiverBegin ()
 
void DropNode (map_ptrloc Node)
 
void FinishDiverLoad ()
 
NodeIterator GetNode (const char *Name, const char *NameEnd, map_ptrloc Loc, bool Insert, bool Divert)
 
PkgIterator GetPkg (const char *Name, const char *End, bool Insert)
 
PkgIterator GetPkg (const char *Name, bool Insert)
 
NodeHashNode (NodeIterator const &N)
 
HeaderHead ()
 
void PrintTree (map_ptrloc Base, unsigned long Size)
 

Public Attributes

unsigned char * AnyP
 
ConfFileConfP
 
DirectoryDirP
 
DiversionDiverP
 
NodeFileHash
 
HeaderHeaderP
 
NodeNodeP
 
PackagePkgP
 
char * StrP
 

Protected Member Functions

map_ptrloc TreeLookup (map_ptrloc *Base, const char *Text, const char *TextEnd, unsigned long Size, unsigned int *Count=0, bool Insert=false)
 

Protected Attributes

std::string CacheFile
 
unsigned long LastLookupSize
 
map_ptrloc LastTreeLookup
 
DynamicMMapMap
 

Constructor & Destructor Documentation

pkgFLCache::pkgFLCache ( DynamicMMap Map)

Member Function Documentation

bool pkgFLCache::AddConfFile ( const char *  Name,
const char *  NameEnd,
PkgIterator const &  Owner,
const unsigned char *  Sum 
)
bool pkgFLCache::AddDiversion ( PkgIterator const &  Owner,
const char *  From,
const char *  To 
)
void pkgFLCache::BeginDiverLoad ( )
pkgFLCache::DiverIterator pkgFLCache::DiverBegin ( )
inline
void pkgFLCache::DropNode ( map_ptrloc  Node)
void pkgFLCache::FinishDiverLoad ( )
NodeIterator pkgFLCache::GetNode ( const char *  Name,
const char *  NameEnd,
map_ptrloc  Loc,
bool  Insert,
bool  Divert 
)
PkgIterator pkgFLCache::GetPkg ( const char *  Name,
const char *  End,
bool  Insert 
)

Referenced by GetPkg().

Here is the caller graph for this function:

pkgFLCache::PkgIterator pkgFLCache::GetPkg ( const char *  Name,
bool  Insert 
)
inline

References GetPkg().

Here is the call graph for this function:

Node* pkgFLCache::HashNode ( NodeIterator const &  N)
Header& pkgFLCache::Head ( )
inline

References HeaderP.

void pkgFLCache::PrintTree ( map_ptrloc  Base,
unsigned long  Size 
)
map_ptrloc pkgFLCache::TreeLookup ( map_ptrloc Base,
const char *  Text,
const char *  TextEnd,
unsigned long  Size,
unsigned int *  Count = 0,
bool  Insert = false 
)
protected

Member Data Documentation

unsigned char* pkgFLCache::AnyP
std::string pkgFLCache::CacheFile
protected
ConfFile* pkgFLCache::ConfP
Directory* pkgFLCache::DirP
Diversion* pkgFLCache::DiverP
Node* pkgFLCache::FileHash
Header* pkgFLCache::HeaderP

Referenced by DiverBegin(), and Head().

unsigned long pkgFLCache::LastLookupSize
protected
map_ptrloc pkgFLCache::LastTreeLookup
protected
DynamicMMap& pkgFLCache::Map
protected
Node* pkgFLCache::NodeP
Package* pkgFLCache::PkgP
char* pkgFLCache::StrP

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