Reads a single value from an COper or a cell of an array COper
[C++]
template< class T >
bool ReadValue(
T& result,
boolean bStrict = false
) const;
If an appropriate value is found, then it is converted to the output type and placed in the variable referenced by this parameter.
If the argument cannot be converted, then the output variable will not be affected.
The following types are directly supported for T:
If bStrict is set to true, then no attempt will be made to convert strings to numbers and vice versa. If bStrict is false (the default) then standard Excel type transformations will be used.
This function returns true or false as follows:false The argument was of an unexpected type and could not be read. true The value was present and correct, and the value of result was set.
This template function lies at the core of all the other input conversion functions,
including ReadVector(), ReadMatrix(), ReadOptional() and ReadGroupItem().
Header: xllplus.h