PLearn 0.1
Public Types | Public Member Functions | Public Attributes
PLearn::VMField Class Reference

a VMField contains a fieldname and a fieldtype More...

#include <VMField.h>

Collaboration diagram for PLearn::VMField:
Collaboration graph
[legend]

List of all members.

Public Types

enum  FieldType {
  UnknownType = 0, Continuous, DiscrGeneral, DiscrMonotonic,
  DiscrFloat, Date
}

Public Member Functions

 VMField (const string &the_name="", FieldType the_fieldtype=UnknownType)
 VMField.
bool operator== (const VMField &other) const
bool operator!= (const VMField &other) const

Public Attributes

string name
FieldType fieldtype

Detailed Description

a VMField contains a fieldname and a fieldtype

Definition at line 57 of file VMField.h.


Member Enumeration Documentation

Enumerator:
UnknownType 
Continuous 
DiscrGeneral 
DiscrMonotonic 
DiscrFloat 
Date 

Definition at line 61 of file VMField.h.


Constructor & Destructor Documentation

PLearn::VMField::VMField ( const string &  the_name = "",
FieldType  the_fieldtype = UnknownType 
)

VMField.

Definition at line 49 of file VMField.cc.

    : name(the_name), fieldtype(the_fieldtype) {}

Member Function Documentation

bool PLearn::VMField::operator!= ( const VMField other) const

Definition at line 57 of file VMField.cc.

{
    return !((*this)==other);
}
bool PLearn::VMField::operator== ( const VMField other) const

Definition at line 52 of file VMField.cc.

References fieldtype, and name.

{
    return (name==other.name && fieldtype==other.fieldtype);
}

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines