LibreOffice Module formula (master) 1
|
Single unit of vector reference consists of two physical arrays. More...
#include <vectortoken.hxx>
Public Types | |
enum | InitInvalid { Invalid } |
Public Member Functions | |
VectorRefArray () | |
VectorRefArray (InitInvalid) | |
VectorRefArray (const double *pArray) | |
VectorRefArray (rtl_uString **pArray) | |
VectorRefArray (const double *pNumArray, rtl_uString **pStrArray) | |
bool | isValid () const |
Public Attributes | |
const double * | mpNumericArray |
rtl_uString ** | mpStringArray |
bool | mbValid |
Single unit of vector reference consists of two physical arrays.
If the whole data array consists of only numeric values, mpStringArray will be NULL, and NaN values in the numeric array represent empty cells.
If the whole data array consists of only string values, mpNumericArray will be NULL, and NULL values in the string array represent empty cells.
If the data array consists of numeric and string values, then both mpNumericArray and mpStringArray will be non-NULL, and a string cell will be represented by a non-NULL pointer value in the string array. If the string value is NULL, check the corresponding value in the numeric array. If the value in the numeric array is NaN, it's an empty cell, otherwise it's a numeric cell.
Definition at line 40 of file vectortoken.hxx.
Enumerator | |
---|---|
Invalid |
Definition at line 42 of file vectortoken.hxx.
formula::VectorRefArray::VectorRefArray | ( | ) |
Definition at line 15 of file vectortoken.cxx.
References mbValid.
formula::VectorRefArray::VectorRefArray | ( | InitInvalid | ) |
Definition at line 20 of file vectortoken.cxx.
References mbValid.
formula::VectorRefArray::VectorRefArray | ( | const double * | pArray | ) |
Definition at line 25 of file vectortoken.cxx.
References mbValid.
formula::VectorRefArray::VectorRefArray | ( | rtl_uString ** | pArray | ) |
Definition at line 30 of file vectortoken.cxx.
References mbValid.
formula::VectorRefArray::VectorRefArray | ( | const double * | pNumArray, |
rtl_uString ** | pStrArray | ||
) |
Definition at line 35 of file vectortoken.cxx.
References mbValid.
bool formula::VectorRefArray::isValid | ( | ) | const |
Definition at line 40 of file vectortoken.cxx.
References mbValid.
bool formula::VectorRefArray::mbValid |
Definition at line 47 of file vectortoken.hxx.
Referenced by isValid().
const double* formula::VectorRefArray::mpNumericArray |
Definition at line 44 of file vectortoken.hxx.
rtl_uString** formula::VectorRefArray::mpStringArray |
Definition at line 45 of file vectortoken.hxx.