OPAL  Version 3.18.8
OpalProductInfo Class Reference

#include <connection.h>

Public Member Functions

 OpalProductInfo ()
 
 OpalProductInfo (const char *vendor, const char *name, const char *version, BYTE t35CountryCode, WORD manufacturerCode, const char *oid)
 
void operator= (const OpalProductInfo &other)
 
bool operator== (const OpalProductInfo &other) const
 
__inline bool operator!= (const OpalProductInfo &other) const
 
PCaselessString AsString () const
 

Static Public Member Functions

static const OpalProductInfoDefault ()
 

Data Fields

PCaselessString vendor
 
PCaselessString name
 
PCaselessString version
 
PCaselessString comments
 
BYTE t35CountryCode
 
BYTE t35Extension
 
WORD manufacturerCode
 
PString oid
 

Friends

ostream & operator<< (ostream &strm, const OpalProductInfo &info)
 

Detailed Description

Class for carying vendor/product information. This consists of a vendor, a product name, a product version and addition comments. Some of these fields may not be present as there is very little standardisation in protocols and implementions.

Constructor & Destructor Documentation

OpalProductInfo::OpalProductInfo ( )
OpalProductInfo::OpalProductInfo ( const char *  vendor,
const char *  name,
const char *  version,
BYTE  t35CountryCode,
WORD  manufacturerCode,
const char *  oid 
)

Member Function Documentation

PCaselessString OpalProductInfo::AsString ( ) const

Get product info as a single string. This outputs name \t version \t T.35 codes (if present) \t vendor

Referenced by H323RegisteredEndPoint::GetApplicationInfo(), and OpalConnection::GetRemotePartyAddress().

static const OpalProductInfo& OpalProductInfo::Default ( )
static
__inline bool OpalProductInfo::operator!= ( const OpalProductInfo other) const
inline
void OpalProductInfo::operator= ( const OpalProductInfo other)
bool OpalProductInfo::operator== ( const OpalProductInfo other) const

Friends And Related Function Documentation

ostream& operator<< ( ostream &  strm,
const OpalProductInfo info 
)
friend

Field Documentation

PCaselessString OpalProductInfo::comments
WORD OpalProductInfo::manufacturerCode
PCaselessString OpalProductInfo::name
PString OpalProductInfo::oid
BYTE OpalProductInfo::t35CountryCode
BYTE OpalProductInfo::t35Extension
PCaselessString OpalProductInfo::vendor
PCaselessString OpalProductInfo::version

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