#include <SDBVMat.h>
Inheritance diagram for PLearn::SDBVMFieldMonths:


Public Member Functions | |
| SDBVMFieldMonths (SDBVMSource source, real missing_values_mapping=MISSING_VALUE) | |
| virtual void | convertField (const SDBWithStats &sdb, const Row &row, const Vec &output) const |
| virtual int | fieldWidth () const |
| Width that the field occupies in the VMat. | |
Private Types | |
| typedef SDBVMFieldSource1 | inherited |
Definition at line 539 of file SDBVMat.h.
|
|
Reimplemented from PLearn::SDBVMFieldSource1. |
|
||||||||||||
|
|
|
||||||||||||||||
|
Given a database row, convert the appropriate parts to a (preallocated) output vector of the correct width (given by fieldWidth). Replace MISSING_VALUEs by missing_values_mapping. Implements PLearn::SDBVMField. Definition at line 490 of file SDBVMat.cc. References PLearn::float_to_date(), PLearn::SDBVMSource::getValue(), PLearn::PDate::month, PLearn::Vec, and PLearn::PDate::year. |
|
|
Width that the field occupies in the VMat.
Implements PLearn::SDBVMField. Definition at line 499 of file SDBVMat.cc. |
1.3.7