Home Texas Home

TVariable Boolean Operators

Calculates and/or assigns a new value to the TVariable.
bool operator==(
   bool rightHandValue
);
bool operator==(
   int rightHandValue
);
bool operator==(
   unsigned int rightHandValue
);
bool operator==(
   __int64 rightHandValue
);
bool operator==(
   double rightHandValue
);
bool operator==(
   const char* rightHandValue
);
bool operator==(
   const BYTE* rightHandValue
);
bool operator==(
   const char16_t* rightHandValue
);
bool operator==(
   const TVariable& rightHandValue
);
bool operator!=(
   bool rightHandValue
);
bool operator!=(
   int rightHandValue
);
bool operator!=(
   unsigned int rightHandValue
);
bool operator!=(
   __int64 rightHandValue
);
bool operator!=(
   const char* rightHandValue
);
bool operator!=(
   const BYTE* rightHandValue
);
bool operator!=(
   const char16_t* rightHandValue
);
bool operator!=(
   const TVariable& rightHandValue
);
bool operator<(
   const TVariable& rightHandValue
);
bool operator<=(
   const TVariable& rightHandValue
);
bool operator>(
   const TVariable& rightHandValue
);
bool operator>=(
   const TVariable& rightHandValue
);
bool operator&&(
   const TVariable& rightHandValue
);
bool operator||(
   const TVariable& rightHandValue
);

Parameters

rightHandValue Take the current value and perform a boolen expression.

Return Values

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

Remarks

Example Use

TVariable var(0xccc);
if(var == 0xccc) MessageBox("TVariable is equal to 0xccc");

Also See

Copyright © 2007, Ekky Software Pty Ltd.