-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdattribute.cpp
More file actions
36 lines (28 loc) · 1.09 KB
/
dattribute.cpp
File metadata and controls
36 lines (28 loc) · 1.09 KB
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
33
34
35
36
#include "dattribute.hpp"
#include "dstructs.hpp"
#include "dstruct.hpp"
#include "dtype.hpp"
namespace Destruct
{
DAttribute::DAttribute(const DType::Type_t typeId, const DUnicodeString& _name, const DUnicodeString& description) : __name(_name), __type(typeId), __description(description)
{
}
DAttribute::DAttribute(const DType::Type_t returnTypeId, const DUnicodeString& _name, const DType::Type_t argumentTypeId, const DUnicodeString& description) : __name(_name), __type(DType::DMethodType, returnTypeId, argumentTypeId), __description(description)
{
}
DAttribute::DAttribute(const DType::Type_t returnTypeId, const DUnicodeString& _name, const DType::Type_t argumentTypeId, const DType::Type_t typeId, const DUnicodeString& description) : __name(_name), __type(typeId, returnTypeId, argumentTypeId), __description(description)
{
}
const DUnicodeString& DAttribute::name(void) const
{
return (this->__name);
}
const DUnicodeString& DAttribute::description(void) const
{
return (this->__description);
}
DType DAttribute::type(void) const
{
return (this->__type);
}
}