Ignore:
Timestamp:
06/06/17 17:58:16 (7 years ago)
Author:
oabramkina
Message:

Two server levels: merging with trunk r1137.
There are bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/parse_expr/scalar_expr_node.hpp

    r642 r1158  
    107107      boost::scoped_ptr<IScalarExprNode> child1, child2; //!< The scalar child nodes to which the operator is applied 
    108108  }; 
     109 
     110    class CScalarTernaryOpExprNode : public IScalarExprNode 
     111  { 
     112    public: 
     113      /*! 
     114       * Constructs an expression node corresponding to the specified ternary operation 
     115       * applied to the provided scalar child nodes. 
     116       * Note that the child nodes will be destroyed automatically when the parent node 
     117       * is destroyed. 
     118       * 
     119       * \param opId the identifier of the operator 
     120       * \param child1, child2 , child3 the scalar child nodes to which the operator is applied 
     121       */ 
     122      CScalarTernaryOpExprNode(IScalarExprNode* child1, const std::string& opId, IScalarExprNode* child2, IScalarExprNode* child3); 
     123 
     124      double reduce() const; 
     125 
     126    private: 
     127      std::string opId; //!< The identifier of the field 
     128      boost::scoped_ptr<IScalarExprNode> child1, child2, child3; //!< The scalar child nodes to which the operator is applied 
     129  }; 
    109130} 
    110131 
Note: See TracChangeset for help on using the changeset viewer.