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)  

URI Class Reference

#include <strutl.h>

Collaboration diagram for URI:

Public Member Functions

 operator std::string ()
void operator= (const std::string &From)
bool empty ()
 URI (std::string Path)
 URI ()

Static Public Member Functions

static std::string SiteOnly (const std::string &URI)
static std::string ArchiveOnly (const std::string &URI)
static std::string NoUserPassword (const std::string &URI)

Public Attributes

std::string Access
std::string User
std::string Password
std::string Host
std::string Path
unsigned int Port

Private Member Functions

void CopyFrom (const std::string &From)

Detailed Description

Definition at line 192 of file strutl.h.

Constructor & Destructor Documentation

◆ URI() [1/2]

URI ( std::string  Path)

Definition at line 212 of file strutl.h.

Referenced by pkgAcqIndex::Init().

◆ URI() [2/2]

URI ( )

Definition at line 213 of file strutl.h.

Member Function Documentation

◆ ArchiveOnly()

string ArchiveOnly ( const std::string &  URI)

◆ CopyFrom()

void CopyFrom ( const std::string &  From)

Definition at line 1627 of file strutl.cc.

References Access, DeQuoteString(), Host, I, Password, Path, Port, and User.

◆ empty()

bool empty ( )

◆ NoUserPassword()

string NoUserPassword ( const std::string &  URI)

Definition at line 1809 of file strutl.cc.

References Password, and User.

◆ operator std::string()

operator std::string ( )

◆ operator=()

void operator= ( const std::string &  From)

Definition at line 206 of file strutl.h.

◆ SiteOnly()

string SiteOnly ( const std::string &  URI)

Member Data Documentation

◆ Access

◆ Host

◆ Password

◆ Path

◆ Port

◆ User

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