filters
Swinder::RKRecord Class Reference
#include <excel.h>
Inheritance diagram for Swinder::RKRecord:

Detailed Description
Class RKRecord represents a cell that contains an RK value, i.e encoded integer or floating-point value.
Definition at line 2186 of file excel.h.
Public Member Functions | |
unsigned int | rtti () |
RKRecord () | |
virtual | ~RKRecord () |
virtual void | setData (unsigned size, const unsigned char *data) |
bool | isInteger () const |
bool | isFloat () const |
int | asInteger () const |
double | asFloat () const |
void | setInteger (int i) |
void | setFloat (double f) |
unsigned | encodedRK () const |
virtual const char * | name () |
virtual void | dump (std::ostream &out) const |
Static Public Attributes | |
static const unsigned int | id |
Constructor & Destructor Documentation
|
Creates a new RK record.
|
|
Destroys the record.
|
Member Function Documentation
|
Returns the floating-point value specified by the record. It is only valid when isFloat returns true.
|
|
Returns the integer value specified by the record. It is only valid when isInteger returns true.
|
|
Dumps record information to output stream. For debugging only. Reimplemented from Swinder::Record. |
|
Returns true if the record holds a floating-point value.
|
|
Returns true if the record holds an integer value.
|
|
Returns the name of the record. For debugging only. Reimplemented from Swinder::Record. |
|
Sets the data for this record.
Reimplemented from Swinder::Record. |
|
Sets the floating-point value to be specified by the record.
|
|
Sets the integer value to be specified by the record.
|
Member Data Documentation
|
Static ID of the record. Subclasses should override this value with the id of the record they handle. Reimplemented from Swinder::Record. |
The documentation for this class was generated from the following file: