Rechercher une page de manuel
ColDatum
Langue: en
Version: 296905 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Detailed Description
- Constructor & Destructor Documentation
- Member Function Documentation
- 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]
- 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]
- RcppDatetime ColDatum::getDatetimeValue () [inline]
- void ColDatum::checkFactorType () [inline]
- int ColDatum::getFactorNumLevels () [inline]
- int ColDatum::getFactorLevel () [inline]
- std::string* ColDatum::getFactorLevelNames () [inline]
- std::string ColDatum::getFactorLevelName () [inline]
- Member Data Documentation
- Author
NAME
ColDatum -SYNOPSIS
#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
Detailed Description
Definition at line 170 of file Rcpp.h.
Constructor & Destructor Documentation
ColDatum::ColDatum () [inline]
Definition at line 172 of file Rcpp.h.
References level.
ColDatum::~ColDatum () [inline]
Definition at line 175 of file Rcpp.h.
References COLTYPE_FACTOR, levelNames, and type.
ColDatum::ColDatum (const ColDatum & datum) [inline]
Definition at line 185 of file Rcpp.h.
References COLTYPE_FACTOR, d, i, level, levelNames, numLevels, s, type, and x.
Member Function Documentation
ColType ColDatum::getType () const [inline]
Definition at line 202 of file Rcpp.h.
References type.
void ColDatum::setDoubleValue (double val) [inline]
Definition at line 204 of file Rcpp.h.
References COLTYPE_DOUBLE, type, and x.
void ColDatum::setIntValue (int val) [inline]
Definition at line 205 of file Rcpp.h.
References COLTYPE_INT, i, and type.
void ColDatum::setLogicalValue (int val) [inline]
Definition at line 206 of file Rcpp.h.
References COLTYPE_LOGICAL, i, and type.
void ColDatum::setStringValue (std::string val) [inline]
Definition at line 211 of file Rcpp.h.
References COLTYPE_STRING, s, and type.
void ColDatum::setDateValue (RcppDate date) [inline]
Definition at line 212 of file Rcpp.h.
References COLTYPE_DATE, d, and type.
void ColDatum::setDatetimeValue (RcppDatetime datetime) [inline]
Definition at line 216 of file Rcpp.h.
References COLTYPE_DATETIME, RcppDatetime::m_d, type, and x.
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]
Definition at line 231 of file Rcpp.h.
References COLTYPE_DOUBLE, type, and x.
int ColDatum::getIntValue () [inline]
Definition at line 236 of file Rcpp.h.
References COLTYPE_INT, i, and type.
int ColDatum::getLogicalValue () [inline]
Definition at line 241 of file Rcpp.h.
References COLTYPE_LOGICAL, i, and type.
std::string ColDatum::getStringValue () [inline]
Definition at line 246 of file Rcpp.h.
References COLTYPE_STRING, s, and type.
RcppDate ColDatum::getDateValue () [inline]
Definition at line 251 of file Rcpp.h.
References COLTYPE_DATE, d, and type.
double ColDatum::getDateRCode () [inline]
Definition at line 256 of file Rcpp.h.
References d, RcppDate::getJDN(), and RcppDate::Jan1970Offset.
RcppDatetime ColDatum::getDatetimeValue () [inline]
Definition at line 259 of file Rcpp.h.
References COLTYPE_DATETIME, type, and x.
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.
Member Data Documentation
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().
Author
Generated automatically by Doxygen for Rcpp from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre