LibreOffice Module formula (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
formula::VectorRefArray Struct Reference

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
 

Detailed Description

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.

Member Enumeration Documentation

◆ InitInvalid

Enumerator
Invalid 

Definition at line 42 of file vectortoken.hxx.

Constructor & Destructor Documentation

◆ VectorRefArray() [1/5]

formula::VectorRefArray::VectorRefArray ( )

Definition at line 15 of file vectortoken.cxx.

References mbValid.

◆ VectorRefArray() [2/5]

formula::VectorRefArray::VectorRefArray ( InitInvalid  )

Definition at line 20 of file vectortoken.cxx.

References mbValid.

◆ VectorRefArray() [3/5]

formula::VectorRefArray::VectorRefArray ( const double *  pArray)

Definition at line 25 of file vectortoken.cxx.

References mbValid.

◆ VectorRefArray() [4/5]

formula::VectorRefArray::VectorRefArray ( rtl_uString **  pArray)

Definition at line 30 of file vectortoken.cxx.

References mbValid.

◆ VectorRefArray() [5/5]

formula::VectorRefArray::VectorRefArray ( const double *  pNumArray,
rtl_uString **  pStrArray 
)

Definition at line 35 of file vectortoken.cxx.

References mbValid.

Member Function Documentation

◆ isValid()

bool formula::VectorRefArray::isValid ( ) const

Definition at line 40 of file vectortoken.cxx.

References mbValid.

Member Data Documentation

◆ mbValid

bool formula::VectorRefArray::mbValid

Definition at line 47 of file vectortoken.hxx.

Referenced by isValid().

◆ mpNumericArray

const double* formula::VectorRefArray::mpNumericArray

Definition at line 44 of file vectortoken.hxx.

◆ mpStringArray

rtl_uString** formula::VectorRefArray::mpStringArray

Definition at line 45 of file vectortoken.hxx.


The documentation for this struct was generated from the following files: