#include <RcppFrame.h>

Public Member Functions | |
| ColDatum () | |
| ColDatum (const ColDatum &datum) | |
| ~ColDatum () | |
| ColType | getType () const |
| void | setDoubleValue (double val) |
| void | setIntValue (int val) |
| void | setLogicalValue (int val) |
| void | setStringValue (std::string val) |
| void | setDateValue (RcppDate date) |
| void | setDatetimeValue (RcppDatetime datetime) |
| void | setFactorValue (std::string *names, int numNames, int factorLevel) |
| double | getDoubleValue () |
| int | getIntValue () |
| int | getLogicalValue () |
| std::string | getStringValue () |
| RcppDate | getDateValue () |
| double | getDateRCode () |
| RcppDatetime | getDatetimeValue () |
| void | checkFactorType () |
| int | getFactorNumLevels () |
| int | getFactorLevel () |
| std::string * | getFactorLevelNames () |
| std::string | getFactorLevelName () |
Private Attributes | |
| ColType | type |
| std::string | s |
| double | x |
| int | i |
| int | level |
| int | numLevels |
| std::string * | levelNames |
| RcppDate | d |
Definition at line 52 of file RcppFrame.h.
| ColDatum::ColDatum | ( | ) |
Definition at line 25 of file RcppFrame.cpp.
| ColDatum::ColDatum | ( | const ColDatum & | datum | ) |
Definition at line 27 of file RcppFrame.cpp.
References COLTYPE_FACTOR, d, i, level, levelNames, numLevels, s, type, and x.
| ColDatum::~ColDatum | ( | ) |
Definition at line 43 of file RcppFrame.cpp.
References COLTYPE_FACTOR, levelNames, and type.
| void ColDatum::checkFactorType | ( | ) |
Definition at line 137 of file RcppFrame.cpp.
References COLTYPE_FACTOR, and type.
Referenced by getFactorLevel(), getFactorLevelName(), getFactorLevelNames(), and getFactorNumLevels().
| double ColDatum::getDateRCode | ( | ) |
Definition at line 127 of file RcppFrame.cpp.
References d, RcppDate::getJDN(), and RcppDate::Jan1970Offset.

| RcppDatetime ColDatum::getDatetimeValue | ( | ) |
Definition at line 131 of file RcppFrame.cpp.
References COLTYPE_DATETIME, type, and x.
| RcppDate ColDatum::getDateValue | ( | ) |
Definition at line 121 of file RcppFrame.cpp.
References COLTYPE_DATE, d, and type.
| double ColDatum::getDoubleValue | ( | ) |
Definition at line 97 of file RcppFrame.cpp.
References COLTYPE_DOUBLE, type, and x.
| int ColDatum::getFactorLevel | ( | ) |
Definition at line 147 of file RcppFrame.cpp.
References checkFactorType(), and level.

| std::string ColDatum::getFactorLevelName | ( | ) |
Definition at line 157 of file RcppFrame.cpp.
References checkFactorType(), level, and levelNames.

| std::string * ColDatum::getFactorLevelNames | ( | ) |
Definition at line 152 of file RcppFrame.cpp.
References checkFactorType(), and levelNames.

| int ColDatum::getFactorNumLevels | ( | ) |
Definition at line 142 of file RcppFrame.cpp.
References checkFactorType(), and numLevels.

| int ColDatum::getIntValue | ( | ) |
Definition at line 103 of file RcppFrame.cpp.
References COLTYPE_INT, i, and type.
| int ColDatum::getLogicalValue | ( | ) |
Definition at line 109 of file RcppFrame.cpp.
References COLTYPE_LOGICAL, i, and type.
| std::string ColDatum::getStringValue | ( | ) |
Definition at line 115 of file RcppFrame.cpp.
References COLTYPE_STRING, s, and type.
| ColType ColDatum::getType | ( | ) | const [inline] |
Definition at line 58 of file RcppFrame.h.
References type.
| void ColDatum::setDatetimeValue | ( | RcppDatetime | datetime | ) |
Definition at line 81 of file RcppFrame.cpp.
References COLTYPE_DATETIME, RcppDatetime::m_d, type, and x.
| void ColDatum::setDateValue | ( | RcppDate | date | ) |
Definition at line 76 of file RcppFrame.cpp.
References COLTYPE_DATE, d, and type.
| void ColDatum::setDoubleValue | ( | double | val | ) |
Definition at line 54 of file RcppFrame.cpp.
References COLTYPE_DOUBLE, type, and x.
| void ColDatum::setFactorValue | ( | std::string * | names, | |
| int | numNames, | |||
| int | factorLevel | |||
| ) |
Definition at line 86 of file RcppFrame.cpp.
References COLTYPE_FACTOR, i, level, levelNames, numLevels, and type.
| void ColDatum::setIntValue | ( | int | val | ) |
Definition at line 59 of file RcppFrame.cpp.
References COLTYPE_INT, i, and type.
| void ColDatum::setLogicalValue | ( | int | val | ) |
Definition at line 64 of file RcppFrame.cpp.
References COLTYPE_LOGICAL, i, and type.
| void ColDatum::setStringValue | ( | std::string | val | ) |
Definition at line 71 of file RcppFrame.cpp.
References COLTYPE_STRING, s, and type.
RcppDate ColDatum::d [private] |
Definition at line 88 of file RcppFrame.h.
Referenced by ColDatum(), getDateRCode(), getDateValue(), and setDateValue().
int ColDatum::i [private] |
Definition at line 84 of file RcppFrame.h.
Referenced by ColDatum(), getIntValue(), getLogicalValue(), RcppDatetimeVector::RcppDatetimeVector(), setFactorValue(), setIntValue(), and setLogicalValue().
int ColDatum::level [private] |
Definition at line 85 of file RcppFrame.h.
Referenced by ColDatum(), getFactorLevel(), getFactorLevelName(), and setFactorValue().
std::string* ColDatum::levelNames [private] |
Definition at line 87 of file RcppFrame.h.
Referenced by ColDatum(), getFactorLevelName(), getFactorLevelNames(), setFactorValue(), and ~ColDatum().
int ColDatum::numLevels [private] |
Definition at line 86 of file RcppFrame.h.
Referenced by ColDatum(), getFactorNumLevels(), and setFactorValue().
std::string ColDatum::s [private] |
Definition at line 82 of file RcppFrame.h.
Referenced by ColDatum(), getStringValue(), and setStringValue().
ColType ColDatum::type [private] |
Definition at line 81 of file RcppFrame.h.
Referenced by checkFactorType(), ColDatum(), getDatetimeValue(), getDateValue(), getDoubleValue(), getIntValue(), getLogicalValue(), getStringValue(), getType(), setDatetimeValue(), setDateValue(), setDoubleValue(), setFactorValue(), setIntValue(), setLogicalValue(), setStringValue(), and ~ColDatum().
double ColDatum::x [private] |
Definition at line 83 of file RcppFrame.h.
Referenced by ColDatum(), getDatetimeValue(), getDoubleValue(), setDatetimeValue(), and setDoubleValue().
1.6.1