forked from wxmaper/PQEngine
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplastiqmethod.cpp
More file actions
25 lines (21 loc) · 770 Bytes
/
plastiqmethod.cpp
File metadata and controls
25 lines (21 loc) · 770 Bytes
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
#include "plastiqmethod.h"
bool PlastiQMethod::exists()
{
return (index >= 0);
}
PlastiQMethod::PlastiQMethod()
: name(""), argTypes(""), returnType(""), index(-1), access(None), type(Unknown)
{ }
PlastiQMethod::PlastiQMethod(const QByteArray &_n, const QByteArray &_at, const QByteArray &_r, int _i, PlastiQMethod::Access _a, PlastiQMethod::Type _t)
: name(_n), argTypes(_at), returnType(_r), index(_i), access(_a), type(_t)
{ }
PlastiQMethod &PlastiQMethod::operator =(const PlastiQMethod &other) {
this->access = other.access;
this->index = other.index;
this->name = other.name;
this->offset = other.offset;
this->returnType = other.returnType;
this->argTypes = other.argTypes;
this->type = other.type;
return *this;
}