#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 (Side::LoHiSide a_side) |
Friends | |
Side::LoHiSide | flip (Side::LoHiSide a_side) |
int | sign (Side::LoHiSide a_side) |
enum Side::LoHiSide |
Side::Side | ( | ) | [inline] |
Constructor.
Side::~Side | ( | ) | [inline] |
Destructor.
static Side::LoHiSide Side::flip | ( | Side::LoHiSide | a_side | ) | [static] |
Side::LoHiSide flip | ( | Side::LoHiSide | a_side | ) | [friend] |
Returns the other side. That is, swap Hi for Lo and vice versa.
int sign | ( | Side::LoHiSide | a_side | ) | [friend] |