AnyP::ProtocolVersion Class Reference

#include <ProtocolVersion.h>

Collaboration diagram for AnyP::ProtocolVersion:

Public Member Functions

 ProtocolVersion ()
 
 ProtocolVersion (ProtocolType which, unsigned int aMajor, unsigned int aMinor)
 
bool operator== (const ProtocolVersion &that) const
 
bool operator!= (const ProtocolVersion &that) const
 
bool operator< (const ProtocolVersion &that) const
 
bool operator> (const ProtocolVersion &that) const
 
bool operator<= (const ProtocolVersion &that) const
 
bool operator>= (const ProtocolVersion &that) const
 

Public Attributes

ProtocolType protocol
 which protocol this version is for More...
 
unsigned int major
 major version number More...
 
unsigned int minor
 minor version number More...
 

Detailed Description

Stores a protocol version label. For example HTTP/1.1 or ICY/1.0 or FTP/2.0

Definition at line 23 of file ProtocolVersion.h.

Constructor & Destructor Documentation

AnyP::ProtocolVersion::ProtocolVersion ( )
inline

Definition at line 29 of file ProtocolVersion.h.

References major, and minor.

AnyP::ProtocolVersion::ProtocolVersion ( ProtocolType  which,
unsigned int  aMajor,
unsigned int  aMinor 
)
inline

Definition at line 34 of file ProtocolVersion.h.

References major, and minor.

Member Function Documentation

bool AnyP::ProtocolVersion::operator!= ( const ProtocolVersion that) const
inline

Definition at line 56 of file ProtocolVersion.h.

References major, minor, and protocol.

bool AnyP::ProtocolVersion::operator< ( const ProtocolVersion that) const
inline

Definition at line 60 of file ProtocolVersion.h.

References major, minor, and protocol.

bool AnyP::ProtocolVersion::operator<= ( const ProtocolVersion that) const
inline

Definition at line 76 of file ProtocolVersion.h.

References protocol.

bool AnyP::ProtocolVersion::operator== ( const ProtocolVersion that) const
inline

Definition at line 43 of file ProtocolVersion.h.

References major, minor, and protocol.

bool AnyP::ProtocolVersion::operator> ( const ProtocolVersion that) const
inline

Definition at line 68 of file ProtocolVersion.h.

References major, minor, and protocol.

bool AnyP::ProtocolVersion::operator>= ( const ProtocolVersion that) const
inline

Definition at line 83 of file ProtocolVersion.h.

References protocol.

Member Data Documentation


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors