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)  

SrvRec Class Reference

#include <srvrec.h>

Collaboration diagram for SrvRec:
[legend]

Public Member Functions

bool operator< (SrvRec const &other) const
 
bool operator== (SrvRec const &other) const
 
 SrvRec (std::string const Target, u_int16_t const Priority, u_int16_t const Weight, u_int16_t const Port)
 

Public Attributes

std::string target
 
u_int16_t priority
 
u_int16_t weight
 
u_int16_t port
 
int random_number_range_start
 
int random_number_range_end
 
int random_number_range_max
 

Detailed Description

Definition at line 18 of file srvrec.h.

Constructor & Destructor Documentation

◆ SrvRec()

SrvRec ( std::string const  Target,
u_int16_t const  Priority,
u_int16_t const  Weight,
u_int16_t const  Port 
)
inline

Definition at line 36 of file srvrec.h.

Member Function Documentation

◆ operator<()

bool operator< ( SrvRec const &  other) const
inline

Definition at line 31 of file srvrec.h.

References priority.

◆ operator==()

bool operator== ( SrvRec const &  other) const

Definition at line 29 of file srvrec.cc.

References port, priority, target, and weight.

Member Data Documentation

◆ port

u_int16_t port

Definition at line 24 of file srvrec.h.

Referenced by operator==().

◆ priority

u_int16_t priority

Definition at line 22 of file srvrec.h.

Referenced by operator<(), and operator==().

◆ random_number_range_end

int random_number_range_end

Definition at line 28 of file srvrec.h.

◆ random_number_range_max

int random_number_range_max

Definition at line 29 of file srvrec.h.

◆ random_number_range_start

int random_number_range_start

Definition at line 27 of file srvrec.h.

◆ target

std::string target

Definition at line 21 of file srvrec.h.

Referenced by operator==(), and PopFromSrvRecs().

◆ weight

u_int16_t weight

Definition at line 23 of file srvrec.h.

Referenced by operator==().


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