apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

sourcelist.cc File Reference
#include <config.h>
#include <apt-pkg/cmndline.h>
#include <apt-pkg/configuration.h>
#include <apt-pkg/debindexfile.h>
#include <apt-pkg/debsrcrecords.h>
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/indexfile.h>
#include <apt-pkg/metaindex.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/sourcelist.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/tagfile.h>
#include <algorithm>
#include <cstring>
#include <fstream>
#include <map>
#include <string>
#include <vector>
#include <ctype.h>
#include <stddef.h>
#include <time.h>
#include <apti18n.h>
Include dependency graph for sourcelist.cc:

Go to the source code of this file.

Macros

#define APT_PLUSMINUS(X, Y)
 

Functions

static std::vector< std::string > FindMultiValue (pkgTagSection &Tags, char const *const Field)
 
static bool FindInIndexFileContainer (std::vector< pkgIndexFile * > const &Cont, pkgCache::PkgFileIterator const &File, pkgIndexFile *&Found)
 
static bool fileNameMatches (std::string const &filename, std::string const &idxtype)
 

Variables

static pkgSourceList::TypeItmList [10]
 

Macro Definition Documentation

◆ APT_PLUSMINUS

#define APT_PLUSMINUS (   X,
 
)
Value:
mapping.insert(std::make_pair(X, std::make_pair(Y, true))); \
mapping.insert(std::make_pair(X "-Add", std::make_pair(Y "+", true))); \
mapping.insert(std::make_pair(X "-Remove", std::make_pair(Y "-", true)))

Function Documentation

◆ fileNameMatches()

static bool fileNameMatches ( std::string const &  filename,
std::string const &  idxtype 
)
static

◆ FindInIndexFileContainer()

static bool FindInIndexFileContainer ( std::vector< pkgIndexFile * > const &  Cont,
pkgCache::PkgFileIterator const &  File,
pkgIndexFile *&  Found 
)
static

Definition at line 459 of file sourcelist.cc.

Referenced by pkgSourceList::FindIndex().

◆ FindMultiValue()

static std::vector<std::string> FindMultiValue ( pkgTagSection Tags,
char const *const  Field 
)
static

Variable Documentation

◆ ItmList

pkgSourceList::Type* ItmList[10]
static

Definition at line 41 of file sourcelist.cc.

Referenced by pkgSourceList::Type::Type().