TVariable Bitwise Operators

Calculates and/or assigns a new value to the TVariable.

TVariable& operator&=(
   const TVariable &bitAndValue
);
TVariable& operator&=(
  __int64 bitAndValue
);
TVariable& operator|=(
   const TVariable &bitOrValue
);
TVariable& operator|=(
   __int64 bitOrValue
);
TVariable& operator^=(
   const TVariable &bitOrValue
);
TVariable& operator^=(
   __int64 bitOrValue
);
TVariable& operator<<=(
   const TVariable &bitRotateValue
);
TVariable& operator<<=(
   __int64 bitRotateValue
);
TVariable& operator>>=(
   const TVariable &bitRotateValue
);
TVariable& operator>>=(
   __int64 bitRotateValue
);
TVariable operator&(
   const TVariable &bitAndValue
);
TVariable operator|(
   const TVariable &bitOrValue
);
TVariable operator^(
   const TVariable &bitXOrValue
);
TVariable operator<<(
   const TVariable &bitRotateValue
);
TVariable operator<<(
   __int64 bitRotateValue
);
TVariable operator>>(
   const TVariable &bitRotateValue
);
TVariable operator>>(
   __int64 bitRotateValue
);
TVariable operator!(void);

Parameters

bitAndValue Take the current value and perform a bitwise and with the parameter value.
bitOrValue Take the current value and perform a bitwise or with the parameter value.
bitXOrValue Take the current value and perform a bitwise exclusive or with the parameter value.
bitRotateValue Take the current value and perform a bitwise rotation with the parameter value.

Return Values

These methods will return the modified TVariable, or a temporary const TVariable created on the stack.

Remarks

Example Use
TVariable var(0xccc);
var &= 0x333;

Also See

 

Contact Ekky Software

All around the world Ekky Software is contactable seven days of the week by submitting the following details.

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript