#include <Rcpp.h>

Public Member Functions | |
| ColDatum () | |
| ~ColDatum () | |
| ColDatum (const ColDatum &datum) | |
| 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 170 of file Rcpp.h.
| ColDatum::~ColDatum | ( | ) | [inline] |
| ColDatum::ColDatum | ( | const ColDatum & | datum | ) | [inline] |
| ColType ColDatum::getType | ( | ) | const [inline] |
| void ColDatum::setDoubleValue | ( | double | val | ) | [inline] |
| void ColDatum::setIntValue | ( | int | val | ) | [inline] |
| void ColDatum::setLogicalValue | ( | int | val | ) | [inline] |
| void ColDatum::setStringValue | ( | std::string | val | ) | [inline] |
| void ColDatum::setDateValue | ( | RcppDate | date | ) | [inline] |
| void ColDatum::setDatetimeValue | ( | RcppDatetime | datetime | ) | [inline] |
| void ColDatum::setFactorValue | ( | std::string * | names, | |
| int | numNames, | |||
| int | factorLevel | |||
| ) | [inline] |
Definition at line 220 of file Rcpp.h.
References COLTYPE_FACTOR, i, level, levelNames, numLevels, and type.
| double ColDatum::getDoubleValue | ( | ) | [inline] |
| int ColDatum::getIntValue | ( | ) | [inline] |
| int ColDatum::getLogicalValue | ( | ) | [inline] |
| std::string ColDatum::getStringValue | ( | ) | [inline] |
| RcppDate ColDatum::getDateValue | ( | ) | [inline] |
| double ColDatum::getDateRCode | ( | ) | [inline] |
Definition at line 256 of file Rcpp.h.
References d, RcppDate::getJDN(), and RcppDate::Jan1970Offset.

| RcppDatetime ColDatum::getDatetimeValue | ( | ) | [inline] |
| void ColDatum::checkFactorType | ( | ) | [inline] |
Definition at line 265 of file Rcpp.h.
References COLTYPE_FACTOR, and type.
Referenced by getFactorLevel(), getFactorLevelName(), getFactorLevelNames(), and getFactorNumLevels().
| int ColDatum::getFactorNumLevels | ( | ) | [inline] |
Definition at line 269 of file Rcpp.h.
References checkFactorType(), and numLevels.

| int ColDatum::getFactorLevel | ( | ) | [inline] |
Definition at line 270 of file Rcpp.h.
References checkFactorType(), and level.

| std::string* ColDatum::getFactorLevelNames | ( | ) | [inline] |
Definition at line 271 of file Rcpp.h.
References checkFactorType(), and levelNames.

| std::string ColDatum::getFactorLevelName | ( | ) | [inline] |
Definition at line 272 of file Rcpp.h.
References checkFactorType(), level, and levelNames.

ColType ColDatum::type [private] |
Definition at line 275 of file Rcpp.h.
Referenced by checkFactorType(), ColDatum(), getDatetimeValue(), getDateValue(), getDoubleValue(), getIntValue(), getLogicalValue(), getStringValue(), getType(), setDatetimeValue(), setDateValue(), setDoubleValue(), setFactorValue(), setIntValue(), setLogicalValue(), setStringValue(), and ~ColDatum().
std::string ColDatum::s [private] |
Definition at line 276 of file Rcpp.h.
Referenced by ColDatum(), getStringValue(), and setStringValue().
double ColDatum::x [private] |
Definition at line 277 of file Rcpp.h.
Referenced by ColDatum(), getDatetimeValue(), getDoubleValue(), setDatetimeValue(), and setDoubleValue().
int ColDatum::i [private] |
Definition at line 278 of file Rcpp.h.
Referenced by ColDatum(), getIntValue(), getLogicalValue(), setFactorValue(), setIntValue(), and setLogicalValue().
int ColDatum::level [private] |
Definition at line 279 of file Rcpp.h.
Referenced by ColDatum(), getFactorLevel(), getFactorLevelName(), and setFactorValue().
int ColDatum::numLevels [private] |
Definition at line 280 of file Rcpp.h.
Referenced by ColDatum(), getFactorNumLevels(), and setFactorValue().
std::string* ColDatum::levelNames [private] |
Definition at line 281 of file Rcpp.h.
Referenced by ColDatum(), getFactorLevelName(), getFactorLevelNames(), setFactorValue(), and ~ColDatum().
RcppDate ColDatum::d [private] |
Definition at line 282 of file Rcpp.h.
Referenced by ColDatum(), getDateRCode(), getDateValue(), and setDateValue().
1.5.6