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)  

pkgTagSection::Tag Struct Reference

#include <tagfile.h>

Collaboration diagram for pkgTagSection::Tag:
[legend]

Public Types

enum  ActionType { REMOVE , RENAME , REWRITE }
 

Static Public Member Functions

static Tag Remove (std::string const &Name)
 
static Tag Rename (std::string const &OldName, std::string const &NewName)
 
static Tag Rewrite (std::string const &Name, std::string const &Data)
 

Public Attributes

enum pkgTagSection::Tag::ActionType Action
 
std::string Name
 
std::string Data
 

Private Member Functions

 Tag (ActionType const Action, std::string const &Name, std::string const &Data)
 

Detailed Description

Definition at line 144 of file tagfile.h.

Member Enumeration Documentation

◆ ActionType

enum ActionType
Enumerator
REMOVE 
RENAME 
REWRITE 

Definition at line 146 of file tagfile.h.

Constructor & Destructor Documentation

◆ Tag()

Tag ( ActionType const  Action,
std::string const &  Name,
std::string const &  Data 
)
inlineprivate

Definition at line 154 of file tagfile.h.

Referenced by Remove().

Member Function Documentation

◆ Remove()

pkgTagSection::Tag Remove ( std::string const &  Name)
static

Definition at line 950 of file tagfile.cc.

References Name, REMOVE, and Tag().

Referenced by DisplayRecordV2(), PackagesWriter::DoPackage(), SourcesWriter::DoPackage(), and DumpAvail().

◆ Rename()

pkgTagSection::Tag Rename ( std::string const &  OldName,
std::string const &  NewName 
)
static

Definition at line 954 of file tagfile.cc.

◆ Rewrite()

pkgTagSection::Tag Rewrite ( std::string const &  Name,
std::string const &  Data 
)
static

Member Data Documentation

◆ Action

◆ Data

std::string Data

Definition at line 148 of file tagfile.h.

◆ Name

std::string Name

Definition at line 147 of file tagfile.h.

Referenced by Remove().


The documentation for this struct was generated from the following files: