Changeset 1158 for XIOS/dev/dev_olga/src/parse_expr/scalar_expr_node.hpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/parse_expr/scalar_expr_node.hpp
r642 r1158 107 107 boost::scoped_ptr<IScalarExprNode> child1, child2; //!< The scalar child nodes to which the operator is applied 108 108 }; 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 }; 109 130 } 110 131
Note: See TracChangeset
for help on using the changeset viewer.