A base class for unary operators.  
 More...
#include <UnaryOp.h>
A base class for unary operators. 
- See also
 - UnaryFunction 
 
Definition at line 43 of file UnaryOp.h.
 
  
  
      
        
          | te::da::UnaryOp::UnaryOp  | 
          ( | 
          const std::string &  | 
          name,  | 
         
        
           | 
           | 
          Expression *  | 
          arg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | name | The operator name.  | 
    | arg | The single operator argument. | 
  
   
- Note
 - The UnaryOp will take the ownership of the given argument. 
 
Definition at line 57 of file UnaryOp.h.
 
 
  
  
      
        
          | te::da::UnaryOp::UnaryOp  | 
          ( | 
          const std::string &  | 
          name,  | 
         
        
           | 
           | 
          const Expression &  | 
          arg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | name | The operator name.  | 
    | arg | The single operator argument.  | 
  
   
Definition at line 65 of file UnaryOp.h.
 
 
      
        
          | te::da::UnaryOp::UnaryOp  | 
          ( | 
          const UnaryOp &  | 
          rhs | ) | 
           | 
        
      
 
 
  
  
      
        
          | virtual te::da::UnaryOp::~UnaryOp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
Virtual Destructor. 
Definition at line 71 of file UnaryOp.h.
 
 
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. 
 
 
 
It adds the argument to the function list of arguments. 
- Parameters
 - 
  
    | arg | The argument to be added. | 
  
   
- Note
 - The Function will take the ownership of the given argument. 
 
 
 
  
  
      
        
          | Expression* te::da::Function::getArg  | 
          ( | 
          std::size_t  | 
          i | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the i-th function argument. 
- Parameters
 - 
  
  
 
- Returns
 - The it-th function argument. 
 
 
 
  
  
      
        
          | Expression* te::da::UnaryFunction::getArgument  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the function associated argument. 
- Returns
 - The function associated argument. 
 
 
 
  
  
      
        
          | const std::string& te::da::Function::getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
It returns the function name. 
- Returns
 - The function name. 
 
Definition at line 79 of file Function.h.
 
 
  
  
      
        
          | std::size_t te::da::Function::getNumArgs  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the number of arguments informed to the function. 
- Returns
 - The number of parameters. 
 
 
 
  
  
      
        
          | Expression* te::da::Function::operator[]  | 
          ( | 
          std::size_t  | 
          i | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the i-th function argument. 
- Parameters
 - 
  
  
 
- Returns
 - The it-th function argument. 
 
 
 
  
  
      
        
          | void te::da::UnaryFunction::setArgument  | 
          ( | 
          Expression *  | 
          arg | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
It sets the function argument. 
- Parameters
 - 
  
    | arg | The single function argument. | 
  
   
- Note
 - The UnaryFunction will take the ownership of the given argument. 
 
 
 
The list of arguments. 
Definition at line 118 of file Function.h.
 
 
  
  
      
        
          | std::string te::da::Function::m_name | 
         
       
   | 
  
protectedinherited   | 
  
 
The function name. May be an operator symbol or just a regular name like ST_Intersects. 
Definition at line 117 of file Function.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/dataaccess/query/UnaryOp.h