|
libodsstream
Library for mass spectrometry
|
#include <odscell.h>
Public Member Functions | |
| OdsCell () | |
| virtual | ~OdsCell () |
| const QString & | toString () const |
| const QString & | getOfficeValueType () const |
| const QDateTime & | getDateTimeValue () const |
| const QString & | getStringValue () const |
| bool | getBooleanValue () const |
| double | getDoubleValue () const |
| bool | isBoolean () const |
| bool | isDate () const |
| bool | isDouble () const |
| bool | isString () const |
| bool | isEmpty () const |
Protected Member Functions | |
| void | setOfficeValueType (const QString &type) |
| void | setDateValue (const QDateTime &date) |
| void | setValueString (const QString &value) |
| void | setValueDouble (double value_num) |
| void | setValueBoolean (bool value_bool) |
| void | setValueOfUndefinedType (const QString &value) |
Protected Attributes | |
| QString | _string_value |
| QString | _office_value_type |
| QDateTime | _date_value |
| double | _double_value |
| bool | _bool_value |
| bool | _is_empty |
Private Attributes | |
| friend | QXmlStreamReaderContentXml |
| friend | TsvReader |
| OdsCell::OdsCell | ( | ) |
Definition at line 24 of file odscell.cpp.
|
virtual |
Definition at line 28 of file odscell.cpp.
| bool OdsCell::getBooleanValue | ( | ) | const |
Definition at line 136 of file odscell.cpp.
References _bool_value, isBoolean(), and toString().
| const QDateTime & OdsCell::getDateTimeValue | ( | ) | const |
Definition at line 97 of file odscell.cpp.
References _date_value, isDate(), and toString().
Referenced by OdsDocReader::setInsideCell().
| double OdsCell::getDoubleValue | ( | ) | const |
Definition at line 123 of file odscell.cpp.
References _double_value, isDouble(), and toString().
Referenced by OdsDocReader::setInsideCell().
| const QString & OdsCell::getOfficeValueType | ( | ) | const |
Definition at line 91 of file odscell.cpp.
References _office_value_type.
Referenced by QXmlStreamReaderContentXml::readTableLine(), and OdsDocReader::setInsideCell().
| const QString & OdsCell::getStringValue | ( | ) | const |
Definition at line 110 of file odscell.cpp.
References _string_value, isString(), and toString().
Referenced by OdsDocReader::setInsideCell().
| bool OdsCell::isBoolean | ( | ) | const |
Definition at line 181 of file odscell.cpp.
References _office_value_type.
Referenced by getBooleanValue(), and isString().
| bool OdsCell::isDate | ( | ) | const |
Definition at line 154 of file odscell.cpp.
References _office_value_type.
Referenced by getDateTimeValue(), isString(), and OdsDocReader::setInsideCell().
| bool OdsCell::isDouble | ( | ) | const |
Definition at line 161 of file odscell.cpp.
References _office_value_type.
Referenced by getDoubleValue(), isString(), and OdsDocReader::setInsideCell().
| bool OdsCell::isEmpty | ( | ) | const |
| bool OdsCell::isString | ( | ) | const |
Definition at line 168 of file odscell.cpp.
References isBoolean(), isDate(), isDouble(), and isEmpty().
Referenced by getStringValue(), and OdsDocReader::setInsideCell().
|
protected |
Definition at line 56 of file odscell.cpp.
References _date_value, and _string_value.
Referenced by QXmlStreamReaderContentXml::readTableLine().
|
protected |
Definition at line 33 of file odscell.cpp.
References _is_empty, _office_value_type, and _string_value.
Referenced by TsvReader::readCsvRow(), and QXmlStreamReaderContentXml::readTableLine().
|
protected |
Definition at line 76 of file odscell.cpp.
References _bool_value, and _string_value.
Referenced by QXmlStreamReaderContentXml::readTableLine().
|
protected |
Definition at line 70 of file odscell.cpp.
References _double_value, and _string_value.
Referenced by QXmlStreamReaderContentXml::readTableLine().
|
protected |
Definition at line 190 of file odscell.cpp.
References _bool_value, _date_value, _double_value, _is_empty, _office_value_type, and _string_value.
Referenced by TsvReader::readCsvRow().
|
protected |
Definition at line 65 of file odscell.cpp.
References _string_value.
Referenced by TsvReader::readCsvRow().
| const QString & OdsCell::toString | ( | ) | const |
Definition at line 83 of file odscell.cpp.
References _string_value.
Referenced by getBooleanValue(), getDateTimeValue(), getDoubleValue(), getStringValue(), and OdsDocReader::setInsideCell().
|
protected |
Definition at line 61 of file odscell.h.
Referenced by getBooleanValue(), setValueBoolean(), and setValueOfUndefinedType().
|
protected |
Definition at line 59 of file odscell.h.
Referenced by getDateTimeValue(), setDateValue(), and setValueOfUndefinedType().
|
protected |
Definition at line 60 of file odscell.h.
Referenced by getDoubleValue(), setValueDouble(), and setValueOfUndefinedType().
|
protected |
Definition at line 62 of file odscell.h.
Referenced by isEmpty(), setOfficeValueType(), and setValueOfUndefinedType().
|
protected |
Definition at line 58 of file odscell.h.
Referenced by getOfficeValueType(), isBoolean(), isDate(), isDouble(), setOfficeValueType(), and setValueOfUndefinedType().
|
protected |
Definition at line 57 of file odscell.h.
Referenced by getStringValue(), QXmlStreamReaderContentXml::readTextP(), setDateValue(), setOfficeValueType(), setValueBoolean(), setValueDouble(), setValueOfUndefinedType(), setValueString(), and toString().