ffead.server.doc
Aspect.h
1 /*
2  Copyright 2009-2012, Sumeet Chhetri
3 
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7 
8  http://www.apache.org/licenses/LICENSE-2.0
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 */
16 /*
17  * Aspect.h
18  *
19  * Created on: Oct 17, 2009
20  * Author: sumeet
21  */
22 
23 #ifndef ASPECT_H_
24 #define ASPECT_H_
25 #include "string"
26 #include "vector"
27 
28 using namespace std;
29 typedef vector<string> args;
30 class Aspect {
31  string strict;
32  string className;
33  string when;
34  string code;
35  string methodName;
36  string returnType;
37  string arguTypes;
38  args argumentTypes;
39 public:
40  Aspect();
41  virtual ~Aspect();
42  string getMethodName() const;
43  void setMethodName(string);
44  string getReturnType() const;
45  void setReturnType(string);
46  args getArgumentTypes() const;
47  void setArgumentTypes(args);
48  int getArgNum() const;
49  void clear();
50  string getStrict() const;
51  void setStrict(string);
52  string getClassName() const;
53  void setClassName(string);
54  string getWhen() const;
55  void setWhen(string);
56  string getCode() const;
57  void setCode(string );
58  string getArguTypes() const;
59  void setArguTypes(string);
60 };
61 
62 #endif /* ASPECT_H_ */