source: dev/BasicCompiler_Common/include/Prototype.h@ 131

Last change on this file since 131 was 131, checked in by dai_9181, 17 years ago

Prototypeクラスを用意した。

File size: 544 bytes
Line 
1#pragma once
2
3#include <string>
4#include <vector>
5
6#include <Namespace.h>
7
8using namespace std;
9
10class Prototype
11{
12 // 名前空間
13 NamespaceScopes namespaceScopes;
14
15 //名前
16 string name;
17
18public:
19
20 Prototype( const NamespaceScopes &namespaceScopes, const string &name )
21 : namespaceScopes( namespaceScopes )
22 , name( name )
23 {
24 }
25 ~Prototype()
26 {
27 }
28
29 // 名前空間
30 const NamespaceScopes &GetNamespaceScopes() const
31 {
32 return namespaceScopes;
33 }
34
35 const string &GetName() const
36 {
37 return name;
38 }
39
40};
Note: See TracBrowser for help on using the repository browser.