Public Member Functions | Private Member Functions | Private Attributes | List of all members
libvisio::VSDNumericField Class Reference

`#include <VSDFieldList.h>`

Inheritance diagram for libvisio::VSDNumericField:

## Public Member Functions
| VSDNumericField (unsigned id, unsigned level, unsigned short format, double number, int formatStringId)
| ~VSDNumericField () override
void | handle (VSDCollector *collector) const override
VSDFieldListElement * | clone () override
librevenge::RVNGString | getString (const std::map< unsigned, librevenge::RVNGString > &) override
void | setNameId (int) override
void | setFormat (unsigned short format) override
void | setValue (double number) override
Public Member Functions inherited from libvisio::VSDFieldListElement
| VSDFieldListElement ()
virtual | ~VSDFieldListElement ()

## Private Member Functions
librevenge::RVNGString | datetimeToString (const char *format, double datetime)

## Private Attributes
unsigned | m_id
unsigned | m_level
unsigned short | m_format
double | m_number
int | m_formatStringId

## Constructor & Destructor Documentation

## ◆ VSDNumericField()

libvisio::VSDNumericField::VSDNumericField | ( | unsigned | id,
|  | unsigned | level,
|  | unsigned short | format,
|  | double | number,
|  | int | formatStringId
| ) |  |
| inline

## ◆ ~VSDNumericField()

libvisio::VSDNumericField::~VSDNumericField | ( |  | ) |
| inline override

## Member Function Documentation

## ◆ clone()

libvisio::VSDFieldListElement * libvisio::VSDNumericField::clone | ( |  | ) |
| override virtual

Implements libvisio::VSDFieldListElement.

## ◆ datetimeToString()

librevenge::RVNGString libvisio::VSDNumericField::datetimeToString | ( | const char * | format,
|  | double | datetime
| ) |  |
| private

## ◆ getString()

librevenge::RVNGString libvisio::VSDNumericField::getString | ( | const std::map< unsigned, librevenge::RVNGString > & |  | ) |
| override virtual

Implements libvisio::VSDFieldListElement.

Referenced by libvisio::VSDContentCollector::collectNumericField().

## ◆ handle()

void libvisio::VSDNumericField::handle | ( | VSDCollector * | collector | ) | const
| override virtual

Implements libvisio::VSDFieldListElement.

## ◆ setFormat()

void libvisio::VSDNumericField::setFormat | ( | unsigned short | format | ) |
| override virtual

Implements libvisio::VSDFieldListElement.

## ◆ setNameId()

void libvisio::VSDNumericField::setNameId | ( | int |  | ) |
| inline override virtual

Implements libvisio::VSDFieldListElement.

## ◆ setValue()

void libvisio::VSDNumericField::setValue | ( | double | number | ) |
| override virtual

Implements libvisio::VSDFieldListElement.

## Member Data Documentation

## ◆ m_format

unsigned short libvisio::VSDNumericField::m_format
| private

## ◆ m_formatStringId

int libvisio::VSDNumericField::m_formatStringId
| private

## ◆ m_id

unsigned libvisio::VSDNumericField::m_id
| private

## ◆ m_level

unsigned libvisio::VSDNumericField::m_level
| private

## ◆ m_number

double libvisio::VSDNumericField::m_number
| private

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

- VSDFieldList.h
- VSDFieldList.cpp