LibPkg
Public Member Functions | Public Attributes | List of all members
pkg::binary_control_table::key_type Class Reference

A class for specifying the name and version of a package. More...

#include <binary_control_table.h>

Public Member Functions

 key_type ()
 Construct default key type. More...
 
 key_type (const string &_pkgname, const version &_pkgvrsn, const string &_pkgenv)
 Contruct key type from package name and version. More...
 

Public Attributes

string pkgname
 The package name. More...
 
version pkgvrsn
 The package version. More...
 
string pkgenv
 The package environment id. More...
 

Detailed Description

A class for specifying the name and version of a package.

Constructor & Destructor Documentation

◆ key_type() [1/2]

pkg::binary_control_table::key_type::key_type ( )

Construct default key type.

◆ key_type() [2/2]

pkg::binary_control_table::key_type::key_type ( const string &  _pkgname,
const version _pkgvrsn,
const string &  _pkgenv 
)

Contruct key type from package name and version.

Parameters
_pkgnamethe package name
_pkgvrsnthe package version
_pkgenvthe package environment id

Member Data Documentation

◆ pkgname

string pkg::binary_control_table::key_type::pkgname

The package name.

Referenced by pkg::operator<().

◆ pkgvrsn

version pkg::binary_control_table::key_type::pkgvrsn

The package version.

Referenced by pkg::operator<().

◆ pkgenv

string pkg::binary_control_table::key_type::pkgenv

The package environment id.

Referenced by pkg::operator<().


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

Reference Manual LibPkg Version 0.9.0 (4 Sep 2020)