#include <LoHiSide.H>
Encapsulation of high or low side.
Public Types | |
enum | LoHiSide { Invalid = -1, Lo = 0, Hi, NUMSIDES } |
Public Member Functions | |
Side () | |
~Side () | |
Static Public Member Functions | |
static Side::LoHiSide | flip (const Side::LoHiSide &a_side) |
Friends | |
Side::LoHiSide | flip (const Side::LoHiSide &a_side) |
int | sign (const Side::LoHiSide &a_side) |
enum Side::LoHiSide |
Side::Side | ( | ) | [inline] |
Constructor.
Side::~Side | ( | ) | [inline] |
Destructor.
static Side::LoHiSide Side::flip | ( | const Side::LoHiSide & | a_side | ) | [static] |
Side::LoHiSide flip | ( | const Side::LoHiSide & | a_side | ) | [friend] |
Returns the other side. That is, swap Hi for Lo and vice versa.
int sign | ( | const Side::LoHiSide & | a_side | ) | [friend] |