An abstract class that models a source of data in a query.  
 More...
#include <FromItem.h>
An abstract class that models a source of data in a query. 
- See also
 - From, DataSetType, DataSetName, SubSelect, DataSet, FromFunctionCall, Join 
 
Definition at line 50 of file FromItem.h.
 
Constructor. 
- Parameters
 - 
  
    | alias | An alias to the source data item.  | 
  
   
Definition at line 61 of file FromItem.h.
 
 
      
        
          | te::da::FromItem::FromItem  | 
          ( | 
          const FromItem &  | 
          rhs | ) | 
           | 
        
      
 
 
  
  
      
        
          | virtual te::da::FromItem::~FromItem  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
Virtual destructor. 
Definition at line 67 of file FromItem.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. 
 
 
 
  
  
      
        
          | virtual FromItem* te::da::FromItem::clone  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
      
        
          | const std::string& te::da::FromItem::getAlias  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the alias associated to the source item. 
- Returns
 - The alias for the source item. 
 
 
 
      
        
          | void te::da::FromItem::setAlias  | 
          ( | 
          const std::string &  | 
          alias | ) | 
           | 
        
      
 
It sets the alias for a from source item. 
- Parameters
 - 
  
    | alias | The alias for a from source item. | 
  
   
- Note
 - The FromItem will take the ownership of the given alias. 
 
 
 
  
  
      
        
          | std::string te::da::FromItem::m_alias | 
         
       
   | 
  
protected   | 
  
 
An alias for the output name. 
Definition at line 93 of file FromItem.h.
 
 
The documentation for this class was generated from the following file:
- C:/AA_TL5_master/terralib5/src/terralib/dataaccess/query/FromItem.h