filters

Swinder::BackupRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::BackupRecord:
Swinder::Record

Public Member Functions

 BackupRecord ()
 
 ~BackupRecord ()
 
unsigned int rtti ()
 
bool backup () const
 
void setBackup (bool r)
 
virtual void setData (unsigned size, const unsigned char *data)
 
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
 

Static Public Attributes

static const unsigned int id = 0x0040
 
- 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

Backup upon save.

Class BackupRecord represents Backup record, which determines whether Microsoft Excel makes a backup of the file while saving.

Definition at line 418 of file excel.h.

Constructor & Destructor Documentation

◆ BackupRecord()

BackupRecord::BackupRecord ( )

Creates a new Backup record.

Definition at line 1624 of file excel.cpp.

◆ ~BackupRecord()

BackupRecord::~BackupRecord ( )

Destroy the record.

Definition at line 1631 of file excel.cpp.

Member Function Documentation

◆ backup()

bool BackupRecord::backup ( ) const

Returns true if a backup is made when saving the file.

See also
setBackup

Definition at line 1636 of file excel.cpp.

◆ dump()

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 1654 of file excel.cpp.

◆ name()

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 453 of file excel.h.

◆ rtti()

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

Reimplemented from Swinder::Record.

Definition at line 434 of file excel.h.

◆ setBackup()

void BackupRecord::setBackup ( bool  r)

If r is true, a backup will be made when saving the file.

See also
backup

Definition at line 1641 of file excel.cpp.

◆ setData()

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

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 1646 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int BackupRecord::id = 0x0040
static

Definition at line 422 of file excel.h.


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