19 lines
291 B
C++
19 lines
291 B
C++
|
|
#include "SelectList.h"
|
||
|
|
#include "SelectItem.h"
|
||
|
|
|
||
|
|
using namespace sqlast;
|
||
|
|
|
||
|
|
SelectList::SelectList()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
void SelectList::Add(std::unique_ptr<SelectItem> select_item)
|
||
|
|
{
|
||
|
|
list.push_back(std::move(select_item));
|
||
|
|
}
|
||
|
|
|
||
|
|
int SelectList::Count() const
|
||
|
|
{
|
||
|
|
return static_cast<int>(list.size());
|
||
|
|
}
|