A class that models the name of a dataset used in a From clause. More...
#include <DataSetName.h>
  
 Public Types | |
| typedef R | ReturnType | 
| typedef QueryVisitor | VisitorType | 
Public Member Functions | |
| virtual ReturnType | accept (VisitorType &guest) const =0 | 
| It call the visit method from the guest object.  More... | |
| FromItem * | clone () const | 
| It creates a new copy of this FromItem.  More... | |
| TE_DEFINE_VISITABLE | DataSetName (const std::string &name, const std::string &alias="") | 
| Constructor.  More... | |
| DataSetName (const DataSetName &rhs) | |
| Copy constructor.  More... | |
| const std::string & | getAlias () const | 
| It returns the alias associated to the source item.  More... | |
| const std::string & | getName () const | 
| It returns the dataset name.  More... | |
| DataSetName & | operator= (const DataSetName &rhs) | 
| void | setAlias (const std::string &alias) | 
| It sets the alias for a from source item.  More... | |
| void | setName (const std::string &name) | 
| It sets the dataset name.  More... | |
| ~DataSetName () | |
| Destructor.  More... | |
Protected Attributes | |
| std::string | m_alias | 
| An alias for the output name.  More... | |
Private Attributes | |
| std::string | m_name | 
| The dataset name.  More... | |
A class that models the name of a dataset used in a From clause.
Definition at line 43 of file DataSetName.h.
      
  | 
  inherited | 
Definition at line 58 of file BaseVisitable.h.
      
  | 
  inherited | 
Definition at line 57 of file BaseVisitable.h.
| te::da::DataSetName::DataSetName | ( | const std::string & | name, | 
| const std::string & | alias = ""  | 
        ||
| ) | 
Constructor.
| name | The dataset name. | 
| alias | An alias to the dataset. | 
Definition at line 29 of file DataSetName.cpp.
| te::da::DataSetName::DataSetName | ( | const DataSetName & | rhs | ) | 
Copy constructor.
Definition at line 35 of file DataSetName.cpp.
      
  | 
  inline | 
Destructor.
Definition at line 61 of file DataSetName.h.
      
  | 
  pure virtualinherited | 
It call the visit method from the guest object.
| guest | The guest or visitor. | 
      
  | 
  virtual | 
It creates a new copy of this FromItem.
Implements te::da::FromItem.
Definition at line 52 of file DataSetName.cpp.
      
  | 
  inherited | 
It returns the alias associated to the source item.
Definition at line 47 of file FromItem.cpp.
Referenced by te::map::QueryLayer::getSchema(), te::serialize::xml::Save(), te::qt::widgets::DataSetWidget::setFrom(), and te::da::SQLVisitor::visit().
| const std::string & te::da::DataSetName::getName | ( | ) | const | 
It returns the dataset name.
Definition at line 57 of file DataSetName.cpp.
Referenced by te::da::SpatialQueryProcessor::getDataSetName(), te::map::QueryLayer::getSchema(), te::gdal::Transactor::query(), te::serialize::xml::Save(), te::qt::widgets::DataSetWidget::setFrom(), te::ogr::SQLVisitor::visit(), and te::da::SQLVisitor::visit().
| te::da::DataSetName & te::da::DataSetName::operator= | ( | const DataSetName & | rhs | ) | 
Assignment operator.
Definition at line 41 of file DataSetName.cpp.
References m_name, and te::da::FromItem::operator=().
      
  | 
  inherited | 
It sets the alias for a from source item.
| alias | The alias for a from source item. | 
Definition at line 42 of file FromItem.cpp.
| void te::da::DataSetName::setName | ( | const std::string & | name | ) | 
It sets the dataset name.
| name | The dataset name. | 
Definition at line 62 of file DataSetName.cpp.
      
  | 
  protectedinherited | 
An alias for the output name.
Definition at line 93 of file FromItem.h.
Referenced by te::da::FromItem::operator=().
      
  | 
  private |