MDBL Library
Public Types | Public Member Functions | Private Attributes
CWhereCmp Class Reference

#include <WhereCmp.hpp>

Inheritance diagram for CWhereCmp:
CWhere

List of all members.

Public Types

enum  Op { EQUALS, NOT_EQUALS, GREATER, LESS }

Public Member Functions

 CWhereCmp (size_t nColumn, Op eOp, const CValue &oValue)
 CWhereCmp (const CWhereCmp &oSrc)
virtual ~CWhereCmp ()
virtual bool Matches (const CRow &oRow) const
virtual CWhereClone () const

Private Attributes

size_t m_nColumn
Op m_eOp
CValue m_oValue

Member Enumeration Documentation

Enumerator:
EQUALS 
NOT_EQUALS 
GREATER 
LESS 

Constructor & Destructor Documentation

CWhereCmp::CWhereCmp ( size_t  nColumn,
Op  eOp,
const CValue oValue 
)
CWhereCmp::CWhereCmp ( const CWhereCmp oSrc)
CWhereCmp::~CWhereCmp ( ) [virtual]

Member Function Documentation

bool CWhereCmp::Matches ( const CRow oRow) const [virtual]

Implements CWhere.

CWhere * CWhereCmp::Clone ( ) const [virtual]

Implements CWhere.


Member Data Documentation

size_t CWhereCmp::m_nColumn [private]
Op CWhereCmp::m_eOp [private]

The documentation for this class was generated from the following files: