A logical operator can be used to combine two or more conditional expressions.  
 More...
#include <BinaryLogicOp.h>
A logical operator can be used to combine two or more conditional expressions. 
The following operators are defined in the Filter Encoding specification: 
- See also
 - LogicOp, UnaryLogicOp 
  
Definition at line 58 of file BinaryLogicOp.h.
 
◆ ReturnType
◆ VisitorType
◆ BinaryLogicOp() [1/2]
      
        
          | te::fe::BinaryLogicOp::BinaryLogicOp  | 
          ( | 
          const char *  | 
          opName = 0 | ) | 
           | 
        
      
 
 
◆ BinaryLogicOp() [2/2]
      
        
          | te::fe::BinaryLogicOp::BinaryLogicOp  | 
          ( | 
          const char *  | 
          opName,  | 
        
        
           | 
           | 
          AbstractOp *  | 
          first,  | 
        
        
           | 
           | 
          AbstractOp *  | 
          second  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
It initializes a new BinaryLogicOp. 
- Parameters
 - 
  
    | opName | The BinaryLogicOp operator name.  | 
    | first | The first operand.  | 
    | second | The second operand. | 
  
   
- Note
 - The BinaryLogicOp will not take the ownership of the given name.
 
- 
The BinaryLogicOp object will take the ownership of the operands. 
 
 
 
◆ ~BinaryLogicOp()
  
  
      
        
          | virtual te::fe::BinaryLogicOp::~BinaryLogicOp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ accept()
It call the visit method from the guest object. 
- Parameters
 - 
  
    | guest | The guest or visitor. | 
  
   
- Returns
 - Any valid value define by the template type R. 
 
 
 
◆ add()
It adds the operand to the operand list. 
- Parameters
 - 
  
    | o | The operand to be added. | 
  
   
- Note
 - The BinaryLogicOp object will take the ownership of the operand. 
 
 
 
◆ clone()
◆ 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.
 
 
◆ getOp()
      
        
          | AbstractOp* te::fe::BinaryLogicOp::getOp  | 
          ( | 
          std::size_t  | 
          i | ) | 
           const | 
        
      
 
It returns a specified operand. 
- Parameters
 - 
  
    | i | The index of desired operand. | 
  
   
- Returns
 - A specified operand.
 
- Note
 - The method will not check the index range. 
 
 
 
◆ operator[]()
      
        
          | AbstractOp* te::fe::BinaryLogicOp::operator[]  | 
          ( | 
          std::size_t  | 
          i | ) | 
           const | 
        
      
 
It returns a specified operand. 
- Parameters
 - 
  
    | i | The index of desired operand. | 
  
   
- Returns
 - A specified operand.
 
- Note
 - The method will not check the index range. 
 
 
 
◆ setName()
  
  
      
        
          | void te::fe::AbstractOp::setName  | 
          ( | 
          const char *  | 
          opName | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
It sets the operator name. 
- Parameters
 - 
  
  
 
Definition at line 89 of file AbstractOp.h.
 
 
◆ size()
      
        
          | std::size_t te::fe::BinaryLogicOp::size  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the number of operands. 
- Returns
 - The number of operands. 
 
 
 
◆ m_name
  
  
      
        
          | const char* te::fe::AbstractOp::m_name | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ m_ops
  
  
      
        
          | std::vector<AbstractOp*> te::fe::BinaryLogicOp::m_ops | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/fe/BinaryLogicOp.h