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

PLearn::SDBVMFieldICBCClassification Class Reference

#include <SDBVMat.h>

Inheritance diagram for PLearn::SDBVMFieldICBCClassification:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SDBVMFieldICBCClassification (Schema schema, const string &fieldname="", const string &tmap_file="")
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.


Protected Attributes

SDBVMSource bodily_injury_incurred_
SDBVMSource property_damage_incurred_
SDBVMSource accident_death_incurred_
SDBVMSource collision_lou_incurred_
SDBVMSource comprehensive_incurred_
FieldPtr policy_start_date_
string fieldname_
int threshold

Private Types

typedef SDBVMField inherited

Member Typedef Documentation

typedef SDBVMField PLearn::SDBVMFieldICBCClassification::inherited [private]
 

Definition at line 1086 of file SDBVMat.h.

Referenced by SDBVMFieldICBCClassification().


Constructor & Destructor Documentation

PLearn::SDBVMFieldICBCClassification::SDBVMFieldICBCClassification Schema  schema,
const string fieldname = "",
const string tmap_file = ""
 

Definition at line 1232 of file SDBVMat.cc.

References inherited, PLERROR, and threshold.


Member Function Documentation

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

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 1264 of file SDBVMat.cc.

References accident_death_incurred_, bodily_injury_incurred_, collision_lou_incurred_, comprehensive_incurred_, fieldname_, PLearn::SDBVMSource::getValue(), PLearn::ICBCpartition(), property_damage_incurred_, PLearn::TVec< T >::resize(), threshold, and PLearn::Vec.

virtual int PLearn::SDBVMFieldICBCClassification::fieldWidth  )  const [inline, virtual]
 

Width that the field occupies in the VMat.

Implements PLearn::SDBVMField.

Definition at line 1095 of file SDBVMat.h.


Member Data Documentation

SDBVMSource PLearn::SDBVMFieldICBCClassification::accident_death_incurred_ [protected]
 

Definition at line 1100 of file SDBVMat.h.

Referenced by convertField().

SDBVMSource PLearn::SDBVMFieldICBCClassification::bodily_injury_incurred_ [protected]
 

Definition at line 1098 of file SDBVMat.h.

Referenced by convertField().

SDBVMSource PLearn::SDBVMFieldICBCClassification::collision_lou_incurred_ [protected]
 

Definition at line 1101 of file SDBVMat.h.

Referenced by convertField().

SDBVMSource PLearn::SDBVMFieldICBCClassification::comprehensive_incurred_ [protected]
 

Definition at line 1102 of file SDBVMat.h.

Referenced by convertField().

string PLearn::SDBVMFieldICBCClassification::fieldname_ [protected]
 

Definition at line 1104 of file SDBVMat.h.

Referenced by convertField().

FieldPtr PLearn::SDBVMFieldICBCClassification::policy_start_date_ [protected]
 

Definition at line 1103 of file SDBVMat.h.

SDBVMSource PLearn::SDBVMFieldICBCClassification::property_damage_incurred_ [protected]
 

Definition at line 1099 of file SDBVMat.h.

Referenced by convertField().

int PLearn::SDBVMFieldICBCClassification::threshold [protected]
 

Definition at line 1105 of file SDBVMat.h.

Referenced by convertField(), and SDBVMFieldICBCClassification().


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