File: operations.cpp

package info (click to toggle)
sear 0.5.0-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,408 kB
  • ctags: 2,580
  • sloc: cpp: 14,902; sh: 10,890; makefile: 172
file content (48 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
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
37
38
39
40
41
42
43
44
45
46
47
48
// This file may be redistributed and modified only under the terms of
// the GNU General Public License (See COPYING for details).
// Copyright (C) 2004 Alistair Riddoch

#include "Use.h"
#include "Wield.h"

namespace Atlas { namespace Objects { namespace Operation {

Use::Use() : Action("", "use")
{
}

Use::Use(const char * id, const char * parent) : Action(id, parent)
{
}

Use::~Use()
{
}

Use Use::Class()
{
    Use value("use", "action");
    value.setObjtype(std::string("op_definition"));
    return value;
}

Wield::Wield() : Set("", "wield")
{
}

Wield::Wield(const char * id, const char * parent) : Set(id, parent)
{
}

Wield::~Wield()
{
}

Wield Wield::Class()
{
    Wield value("wield", "set");
    value.setObjtype(std::string("op_definition"));
    return value;
}

} } }