A Select can be used as a source of information in another query. More...
#include <FromFunctionCall.h>
  
 Public Types | |
| typedef void | 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 | FromFunctionCall (Function *f, const std::string &alias) | 
| Constructor.  More... | |
| FromFunctionCall (const Function &f, const std::string &alias) | |
| Constructor.  More... | |
| FromFunctionCall (const FromFunctionCall &rhs) | |
| Copy constructor.  More... | |
| const std::string & | getAlias () const | 
| It returns the alias associated to the source item.  More... | |
| Function * | getFunction () const | 
| It returns the associated function.  More... | |
| FromFunctionCall & | operator= (const FromFunctionCall &rhs) | 
| void | setAlias (const std::string &alias) | 
| It sets the alias for a from source item.  More... | |
| void | setFunction (Function *f) | 
| It sets the function associated to this object.  More... | |
| ~FromFunctionCall () | |
| Destructor.  More... | |
Protected Attributes | |
| std::string | m_alias | 
| An alias for the output name.  More... | |
Private Attributes | |
| std::auto_ptr< Function > | m_f | 
| The associated function.  More... | |
A Select can be used as a source of information in another query.
Definition at line 49 of file FromFunctionCall.h.
      
  | 
  inherited | 
Definition at line 58 of file BaseVisitable.h.
      
  | 
  inherited | 
Definition at line 57 of file BaseVisitable.h.
| te::da::FromFunctionCall::FromFunctionCall | ( | Function * | f, | 
| const std::string & | alias | ||
| ) | 
Constructor.
| f | The function to be associated to this object. | 
Definition at line 30 of file FromFunctionCall.cpp.
| te::da::FromFunctionCall::FromFunctionCall | ( | const Function & | f, | 
| const std::string & | alias | ||
| ) | 
Constructor.
| f | The function to be associated to this object. | 
Definition at line 36 of file FromFunctionCall.cpp.
References te::da::Function::clone(), and m_f.
| te::da::FromFunctionCall::FromFunctionCall | ( | const FromFunctionCall & | rhs | ) | 
| te::da::FromFunctionCall::~FromFunctionCall | ( | ) | 
Destructor.
Definition at line 50 of file FromFunctionCall.cpp.
      
  | 
  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 66 of file FromFunctionCall.cpp.
      
  | 
  inherited | 
It returns the alias associated to the source item.
Definition at line 47 of file FromItem.cpp.
Referenced by te::serialize::xml::Save(), te::qt::widgets::DataSetWidget::setFrom(), and te::da::SQLVisitor::visit().
| te::da::Function * te::da::FromFunctionCall::getFunction | ( | ) | const | 
It returns the associated function.
Definition at line 71 of file FromFunctionCall.cpp.
| te::da::FromFunctionCall & te::da::FromFunctionCall::operator= | ( | const FromFunctionCall & | rhs | ) | 
Assignment operator.
Definition at line 54 of file FromFunctionCall.cpp.
References m_f, 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::FromFunctionCall::setFunction | ( | Function * | f | ) | 
It sets the function associated to this object.
| f | The function to be associated to the FromItem object. | 
Definition at line 76 of file FromFunctionCall.cpp.
      
  | 
  protectedinherited | 
An alias for the output name.
Definition at line 93 of file FromItem.h.
Referenced by te::da::FromItem::operator=().
      
  | 
  private | 
The associated function.
Definition at line 99 of file FromFunctionCall.h.
Referenced by FromFunctionCall(), and operator=().