A class that models the name of a dataset used in a From clause.
More...
#include <DataSetName.h>
A class that models the name of a dataset used in a From clause.
- See also
- FromItem, SubSelect, FromFunctionCall, Join
Definition at line 43 of file DataSetName.h.
TE_DEFINE_VISITABLE te::da::DataSetName::DataSetName |
( |
const std::string & |
name, |
|
|
const std::string & |
alias = "" |
|
) |
| |
Constructor.
- Parameters
-
name | The dataset name. |
alias | An alias to the dataset. |
te::da::DataSetName::DataSetName |
( |
const DataSetName & |
rhs | ) |
|
te::da::DataSetName::~DataSetName |
( |
| ) |
|
|
inline |
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.
FromItem* te::da::DataSetName::clone |
( |
| ) |
const |
|
virtual |
const std::string& te::da::FromItem::getAlias |
( |
| ) |
const |
|
inherited |
It returns the alias associated to the source item.
- Returns
- The alias for the source item.
const std::string& te::da::DataSetName::getName |
( |
| ) |
const |
It returns the dataset name.
- Returns
- The dataset name.
void te::da::FromItem::setAlias |
( |
const std::string & |
alias | ) |
|
|
inherited |
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.
void te::da::DataSetName::setName |
( |
const std::string & |
name | ) |
|
It sets the dataset name.
- Parameters
-
std::string te::da::FromItem::m_alias |
|
protectedinherited |
An alias for the output name.
Definition at line 93 of file FromItem.h.
std::string te::da::DataSetName::m_name |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/dataaccess/query/DataSetName.h