Ignore:
Timestamp:
07/17/15 13:58:13 (9 years ago)
Author:
rlacroix
Message:

Use the filter infrastructure to handle the temporal operations.

Add a temporal filter to do so.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/parse_expr/filter_expr_node.hpp

    r642 r643  
    4242       */ 
    4343      CFilterFieldExprNode(const std::string& fieldId); 
     44 
     45      virtual boost::shared_ptr<COutputPin> reduce(CGarbageCollector& gc, CField& thisField) const; 
     46 
     47    private: 
     48      std::string fieldId; //!< The identifier of the field 
     49  }; 
     50 
     51  /*! 
     52   * Expression node corresponding to a field for which the result of 
     53   * the temporal operation is requested instead of the instant value. 
     54   */ 
     55  class CFilterTemporalFieldExprNode : public IFilterExprNode 
     56  { 
     57    public: 
     58      /*! 
     59       * Constructs an expression node corresponding 
     60       * to the field whose id is provided. 
     61       * 
     62       * \param fieldId the identifier of the field 
     63       */ 
     64      CFilterTemporalFieldExprNode(const std::string& fieldId); 
    4465 
    4566      virtual boost::shared_ptr<COutputPin> reduce(CGarbageCollector& gc, CField& thisField) const; 
Note: See TracChangeset for help on using the changeset viewer.