Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::SDBVMFieldDateGreater Class Reference

verifies if the date within the row is greater than a threshold date More...

#include <SDBVMat.h>

Inheritance diagram for PLearn::SDBVMFieldDateGreater:

Inheritance graph
[legend]
Collaboration diagram for PLearn::SDBVMFieldDateGreater:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SDBVMFieldDateGreater (SDBVMSource source, PDate the_ref)
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.

virtual real getDiscreteValue (const SDBWithStats &sdb, const Row &row) const

Protected Attributes

PDate ref

Private Types

typedef SDBVMFieldDiscrete inherited

Detailed Description

verifies if the date within the row is greater than a threshold date

Definition at line 664 of file SDBVMat.h.


Member Typedef Documentation

typedef SDBVMFieldDiscrete PLearn::SDBVMFieldDateGreater::inherited [private]
 

Reimplemented from PLearn::SDBVMFieldDiscrete.

Definition at line 666 of file SDBVMat.h.


Constructor & Destructor Documentation

PLearn::SDBVMFieldDateGreater::SDBVMFieldDateGreater SDBVMSource  source,
PDate  the_ref
[inline]
 

< true or false

Definition at line 672 of file SDBVMat.h.


Member Function Documentation

void PLearn::SDBVMFieldDateGreater::convertField const SDBWithStats sdb,
const Row row,
const Vec output
const [virtual]
 

This function is implemented as a call to a virtual function getDiscreteValue(), followed by a call to setOutput of the OutputCoder.

Reimplemented from PLearn::SDBVMFieldDiscrete.

Definition at line 631 of file SDBVMat.cc.

References PLearn::SDBVMSource::getValue(), ref, and PLearn::Vec.

int PLearn::SDBVMFieldDateGreater::fieldWidth  )  const [virtual]
 

Width that the field occupies in the VMat.

Reimplemented from PLearn::SDBVMFieldDiscrete.

Definition at line 642 of file SDBVMat.cc.

real PLearn::SDBVMFieldDateGreater::getDiscreteValue const SDBWithStats sdb,
const Row row
const [virtual]
 

This function must be overridden in derived classes to get the correctly-mapped discrete value obtained from the SDB. The semantics prescribe missing values to be remapped to missing_values_mapping_.

Implements PLearn::SDBVMFieldDiscrete.

Definition at line 647 of file SDBVMat.cc.

References PLearn::SDBVMSource::getValue(), PLearn::FieldValue::isMissing(), ref, and PLearn::FieldValue::toDate().


Member Data Documentation

PDate PLearn::SDBVMFieldDateGreater::ref [protected]
 

Definition at line 669 of file SDBVMat.h.

Referenced by convertField(), and getDiscreteValue().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:22:57 2004 for PLearn by doxygen 1.3.7