Home Texas Home

TVariable Calculable Operators

Calculates and/or assigns a new value to the TVariable.
TVariable& operator+=(
   __int64 additionValue
);
TVariable& operator+=(
   unsigned __int64 additionValue
);
TVariable& operator+=(
   unsigned int additionValue
);
TVariable& operator+=(
   double additionValue
);
TVariable& operator+=(
   const char* additionValue
);
TVariable& operator+=(
   const BYTE* additionValue
);
TVariable& operator+=(
   const char16_t* additionValue
);
TVariable& operator+=(
   const TVariable &additionValue
);
TVariable& operator-=(
   const TVariable &subtractionValue
);
TVariable& operator*=(
   const TVariable &multiplyValue
);
TVariable& operator/=(
   const TVariable &divideValue
);
TVariable& operator++(void);
TVariable operator++(
   int value
);
TVariable& operator--(void);
TVariable operator--(
   int value
);
TVariable operator+(
   __int64 additionValue
);
TVariable operator+(
   double additionValue
);
TVariable operator+(
   const char *additionValue
);
TVariable operator+(
   const BYTE *additionValue
);
TVariable operator+(
   const char16_t *additionValue
);
TVariable operator+(
   const TVariable &additionValue
);
TVariable operator-(
   const TVariable &subtractionValue
);
TVariable operator*(
   const TVariable &multiplyValue
);
TVariable operator/(
   const TVariable &divideValue
);

Parameters

additionValue TVariable will add or append inputted parameter value.
subtractionValue TVariable will subtract inputted parameter value, this will create an numeric value if not already.
multiplyValue TVariable will multiply inputted parameter value, this will create an numeric value if not already.
divideValue TVariable will divide inputted parameter value, this will create an numeric value if not already.

Return Values

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

Remarks

Example Use

TVariable var("Initial Value");
var += "This is the appended string";

Also See

Copyright © 2007-2009, Ekky Software Pty Ltd.