te::fe::PropertyIsNull Class Referenceabstract

The PropertyIsNull class encodes an operator that checks to see if the value of its content is NULL. More...

#include <PropertyIsNull.h>

Inheritance diagram for te::fe::PropertyIsNull:
te::fe::ComparisonOp te::fe::AbstractOp te::common::BaseVisitable< Visitor >

Public Types

typedef void ReturnType
 
typedef Visitor VisitorType
 

Public Member Functions

virtual ReturnType accept (VisitorType &guest) const =0
 It call the visit method from the guest object. More...
 
ComparisonOpclone () const
 It creates a new copy of this object. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 PropertyIsNull ()
 It initializes a new PropertyIsNull. More...
 
 ~PropertyIsNull ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

void setPropertyName (PropertyName *p)
 It sets the property name. More...
 
PropertyNamegetPropertyName () const
 It returns the property name. More...
 
Accessor methods

Methods used to get or set properties.

const char * getName () const
 It returns the operator name. More...
 
void setName (const char *opName)
 It sets the operator name. More...
 

Protected Attributes

const char * m_name
 Operator name. More...
 

Private Attributes

PropertyNamem_property
 Mandatory. More...
 

Detailed Description

The PropertyIsNull class encodes an operator that checks to see if the value of its content is NULL.

A NULL is equivalent to no value present. The value 0 is a valid value and is not considered NULL.

See also
ComparisonOp, PropertyName

Definition at line 51 of file PropertyIsNull.h.

Member Typedef Documentation

typedef void te::common::BaseVisitable< Visitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

typedef Visitor te::common::BaseVisitable< Visitor , void >::VisitorType
inherited

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

te::fe::PropertyIsNull::PropertyIsNull ( )

It initializes a new PropertyIsNull.

Definition at line 34 of file PropertyIsNull.cpp.

Referenced by clone().

te::fe::PropertyIsNull::~PropertyIsNull ( )

Destructor.

Definition at line 40 of file PropertyIsNull.cpp.

References m_property.

Member Function Documentation

virtual ReturnType te::common::BaseVisitable< Visitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.
te::fe::ComparisonOp * te::fe::PropertyIsNull::clone ( ) const
virtual

It creates a new copy of this object.

Reimplemented from te::fe::ComparisonOp.

Definition at line 56 of file PropertyIsNull.cpp.

References te::fe::PropertyName::getName(), te::fe::AbstractOp::m_name, m_property, PropertyIsNull(), te::fe::AbstractOp::setName(), and setPropertyName().

const char* te::fe::AbstractOp::getName ( ) const
inlineinherited

It returns the operator name.

Returns
The operator name.

Definition at line 82 of file AbstractOp.h.

Referenced by GetQualifiedName(), te::map::QueryEncoder::visit(), and te::fe::serialize::AbstractOp::write().

te::fe::PropertyName * te::fe::PropertyIsNull::getPropertyName ( ) const

It returns the property name.

Returns
The property name.

Definition at line 51 of file PropertyIsNull.cpp.

References m_property.

Referenced by NullWriter(), and te::map::QueryEncoder::visit().

void te::fe::AbstractOp::setName ( const char *  opName)
inlineinherited
void te::fe::PropertyIsNull::setPropertyName ( PropertyName p)

It sets the property name.

Parameters
pThe property name.
Note
It will take the ownership of the property name.

Definition at line 45 of file PropertyIsNull.cpp.

References m_property, and p.

Referenced by clone().

Member Data Documentation

PropertyName* te::fe::PropertyIsNull::m_property
private

Mandatory.

Definition at line 99 of file PropertyIsNull.h.

Referenced by clone(), getPropertyName(), setPropertyName(), and ~PropertyIsNull().


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