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

◆ ReturnType

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

Definition at line 58 of file BaseVisitable.h.

◆ VisitorType

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

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

◆ PropertyIsNull()

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

It initializes a new PropertyIsNull.

◆ ~PropertyIsNull()

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

Destructor.

Member Function Documentation

◆ accept()

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.

◆ clone()

ComparisonOp* te::fe::PropertyIsNull::clone ( ) const
virtual

It creates a new copy of this object.

Reimplemented from te::fe::ComparisonOp.

◆ getName()

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.

◆ getPropertyName()

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

It returns the property name.

Returns
The property name.

◆ setName()

void te::fe::AbstractOp::setName ( const char *  opName)
inlineinherited

It sets the operator name.

Parameters
opNameThe operator name.

Definition at line 89 of file AbstractOp.h.

◆ setPropertyName()

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.

Member Data Documentation

◆ m_name

const char* te::fe::AbstractOp::m_name
protectedinherited

Operator name.

Definition at line 123 of file AbstractOp.h.

◆ m_property

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

Mandatory.

Definition at line 99 of file PropertyIsNull.h.


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