#include <gu_c.hxx>
Public Member Functions | |
bool | fSa () const |
secondary address present | |
int | iPa () const |
primary address | |
int | iSa () const |
secondary address, valid if fSa() | |
GpibAddress (int iPa, bool fSa=false, int iSa=0) | |
GpibAddress constructor. | |
GpibAddress () | |
Default Constructor, equivalent to GpibAddress(0). | |
Friends | |
bool | operator== (const GpibAddress &gaL, const GpibAddress &gaR) |
Comparison operator. | |
bool | operator!= (const GpibAddress &gaL, const GpibAddress &gaR) |
A GPIB address has a primary address part and on optional secondary part.
|
GpibAddress constructor. Represents the GPIB address iPa and the optional secondary address iSa if fSa is true. |
|
Comparison operator. Two GpibAddress objects are equal if they represent the same primary and secondary (optional) GPIB address. |