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)  

debSLTypeDebian Class Reference
Inheritance diagram for debSLTypeDebian:
[legend]
Collaboration diagram for debSLTypeDebian:
[legend]

Protected Member Functions

bool CreateItemInternal (std::vector< metaIndex * > &List, std::string const &URI, std::string const &Dist, std::string const &Section, bool const &IsSrc, std::map< std::string, std::string > const &Options) const
 
 debSLTypeDebian (char const *const Name, char const *const Label)
 

Private Member Functions

metaIndex::TriState GetTriStateOption (std::map< std::string, std::string >const &Options, char const *const name) const
 

Static Private Member Functions

static std::vector< std::string > getDefaultSetOf (std::string const &Name, std::map< std::string, std::string > const &Options, std::vector< std::string > const &defaultValues)
 
static std::vector< std::string > applyPlusMinusOptions (std::string const &Name, std::map< std::string, std::string > const &Options, std::vector< std::string > &&Values)
 
static std::vector< std::string > parsePlusMinusOptions (std::string const &Name, std::map< std::string, std::string > const &Options, std::vector< std::string > const &defaultValues)
 
static std::vector< std::string > parsePlusMinusArchOptions (std::string const &Name, std::map< std::string, std::string > const &Options)
 
static std::vector< std::string > parsePlusMinusTargetOptions (char const *const Name, std::map< std::string, std::string > const &Options)
 
static time_t GetTimeOption (std::map< std::string, std::string >const &Options, char const *const name)
 
static bool GetBoolOption (std::map< std::string, std::string > const &Options, char const *const name, bool const defVal)
 
static std::vector< std::string > GetMapKeys (std::map< std::string, std::string > const &Options)
 
static bool MapsAreEqual (std::map< std::string, std::string > const &OptionsA, std::map< std::string, std::string > const &OptionsB, std::string const &URI, std::string const &Dist)
 
static debReleaseIndexGetDebReleaseIndexBy (std::vector< metaIndex * > &List, std::string const &URI, std::string const &Dist, std::map< std::string, std::string > const &Options)
 

Additional Inherited Members

- Public Member Functions inherited from pkgSourceList::Type
bool FixupURI (std::string &URI) const
 
virtual bool ParseStanza (std::vector< metaIndex * > &List, pkgTagSection &Tags, unsigned int const stanza_n, FileFd &Fd)
 
virtual bool ParseLine (std::vector< metaIndex * > &List, const char *Buffer, unsigned int const CurLine, std::string const &File) const
 
virtual bool CreateItem (std::vector< metaIndex * > &List, std::string const &URI, std::string const &Dist, std::string const &Section, std::map< std::string, std::string > const &Options) const =0
 
 Type (char const *const Name, char const *const Label)
 
virtual ~Type ()
 
- Static Public Member Functions inherited from pkgSourceList::Type
static TypeGetType (const char *Type) APT_PURE
 
- Public Attributes inherited from pkgSourceList::Type
char const *const Name
 
char const *const Label
 
- Static Public Attributes inherited from pkgSourceList::Type
static Type ** GlobalList = ItmList
 
static unsigned long GlobalListLen = 0
 

Detailed Description

Definition at line 967 of file debmetaindex.cc.

Constructor & Destructor Documentation

◆ debSLTypeDebian()

debSLTypeDebian ( char const *const  Name,
char const *const  Label 
)
inlineprotected

Definition at line 1280 of file debmetaindex.cc.

Member Function Documentation

◆ applyPlusMinusOptions()

static std::vector<std::string> applyPlusMinusOptions ( std::string const &  Name,
std::map< std::string, std::string > const &  Options,
std::vector< std::string > &&  Values 
)
inlinestaticprivate

Definition at line 977 of file debmetaindex.cc.

References VectorizeString().

◆ CreateItemInternal()

bool CreateItemInternal ( std::vector< metaIndex * > &  List,
std::string const &  URI,
std::string const &  Dist,
std::string const &  Section,
bool const &  IsSrc,
std::map< std::string, std::string > const &  Options 
) const
inlineprotected

◆ GetBoolOption()

static bool GetBoolOption ( std::map< std::string, std::string > const &  Options,
char const *const  name,
bool const  defVal 
)
inlinestaticprivate

Definition at line 1092 of file debmetaindex.cc.

References StringToBool().

◆ GetDebReleaseIndexBy()

static debReleaseIndex* GetDebReleaseIndexBy ( std::vector< metaIndex * > &  List,
std::string const &  URI,
std::string const &  Dist,
std::map< std::string, std::string > const &  Options 
)
inlinestaticprivate

◆ getDefaultSetOf()

static std::vector<std::string> getDefaultSetOf ( std::string const &  Name,
std::map< std::string, std::string > const &  Options,
std::vector< std::string > const &  defaultValues 
)
inlinestaticprivate

Definition at line 969 of file debmetaindex.cc.

References VectorizeString().

◆ GetMapKeys()

static std::vector<std::string> GetMapKeys ( std::map< std::string, std::string > const &  Options)
inlinestaticprivate

Definition at line 1100 of file debmetaindex.cc.

◆ GetTimeOption()

static time_t GetTimeOption ( std::map< std::string, std::string >const &  Options,
char const *const  name 
)
inlinestaticprivate

Definition at line 1084 of file debmetaindex.cc.

◆ GetTriStateOption()

metaIndex::TriState GetTriStateOption ( std::map< std::string, std::string >const &  Options,
char const *const  name 
) const
inlineprivate

Definition at line 1076 of file debmetaindex.cc.

References StringToBool(), TRI_DONTCARE, TRI_NO, and TRI_YES.

◆ MapsAreEqual()

static bool MapsAreEqual ( std::map< std::string, std::string > const &  OptionsA,
std::map< std::string, std::string > const &  OptionsB,
std::string const &  URI,
std::string const &  Dist 
)
inlinestaticprivate

Definition at line 1110 of file debmetaindex.cc.

◆ parsePlusMinusArchOptions()

static std::vector<std::string> parsePlusMinusArchOptions ( std::string const &  Name,
std::map< std::string, std::string > const &  Options 
)
inlinestaticprivate

Definition at line 1002 of file debmetaindex.cc.

References APT::Configuration::getArchitectures(), and VectorizeString().

◆ parsePlusMinusOptions()

static std::vector<std::string> parsePlusMinusOptions ( std::string const &  Name,
std::map< std::string, std::string > const &  Options,
std::vector< std::string > const &  defaultValues 
)
inlinestaticprivate

Definition at line 997 of file debmetaindex.cc.

◆ parsePlusMinusTargetOptions()

static std::vector<std::string> parsePlusMinusTargetOptions ( char const *const  Name,
std::map< std::string, std::string > const &  Options 
)
inlinestaticprivate

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