blob: 4e4ac5f565d6908ada270731b05c8af59387e124 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include "frame.h"
#include "database.h"
#include "field.h"
namespace verbly {
namespace generator {
int frame::nextId_ = 0;
frame::frame() : id_(nextId_++)
{
}
frame frame::duplicate(const frame& other)
{
frame result;
for (const part& p : other.parts_)
{
result.push_back(part::duplicate(p));
}
return result;
}
void frame::push_back(part fp)
{
parts_.push_back(std::move(fp));
}
};
};
|