filters

Swinder::NumberRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::NumberRecord:
Swinder::Record Swinder::CellInfo

Public Member Functions

unsigned int rtti ()
 
 NumberRecord ()
 
virtual ~NumberRecord ()
 
virtual void setData (unsigned size, const unsigned char *data)
 
double number () const
 
void setNumber (double f)
 
virtual const char * name ()
 
virtual void dump (std::ostream &out) const
 
- Public Member Functions inherited from Swinder::Record
 Record ()
 
virtual ~Record ()
 
void setVersion (unsigned v)
 
unsigned version ()
 
void setPosition (unsigned pos)
 
unsigned position () const
 
- Public Member Functions inherited from Swinder::CellInfo
 CellInfo ()
 
virtual ~CellInfo ()
 
virtual unsigned row () const
 
virtual unsigned column () const
 
virtual unsigned xfIndex () const
 
virtual void setRow (unsigned r)
 
virtual void setColumn (unsigned c)
 
virtual void setXfIndex (unsigned i)
 

Static Public Attributes

static const unsigned int id = 0x0203
 
- Static Public Attributes inherited from Swinder::Record
static const unsigned int id = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from Swinder::Record
static Record * create (unsigned type)
 
- Protected Attributes inherited from Swinder::Record
unsigned stream_position
 
unsigned ver
 

Detailed Description

Class NumberRecord represents a cell that contains a floating point value.

Definition at line 2075 of file excel.h.

Constructor & Destructor Documentation

◆ NumberRecord()

NumberRecord::NumberRecord ( )

Creates a new Number record.

Definition at line 3514 of file excel.cpp.

◆ ~NumberRecord()

NumberRecord::~NumberRecord ( )
virtual

Destroys the record.

Definition at line 3521 of file excel.cpp.

Member Function Documentation

◆ dump()

void NumberRecord::dump ( std::ostream &  out) const
virtual

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 3547 of file excel.cpp.

◆ name()

virtual const char * Swinder::NumberRecord::name ( )
inlinevirtual

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2111 of file excel.h.

◆ number()

double NumberRecord::number ( ) const

Returns the floating-point value specified by the record.

See also
setNumber

Definition at line 3526 of file excel.cpp.

◆ rtti()

unsigned int Swinder::NumberRecord::rtti ( )
inlinevirtual

Reimplemented from Swinder::Record.

Definition at line 2081 of file excel.h.

◆ setData()

void NumberRecord::setData ( unsigned  size,
const unsigned char *  data 
)
virtual

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 3537 of file excel.cpp.

◆ setNumber()

void NumberRecord::setNumber ( double  f)

Sets the floating-point value specified by the record.

See also
number

Definition at line 3531 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int NumberRecord::id = 0x0203
static

Definition at line 2079 of file excel.h.


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