| Line | |
|---|
| 1 | #pragma once
|
|---|
| 2 |
|
|---|
| 3 | #include <string>
|
|---|
| 4 | #include <vector>
|
|---|
| 5 |
|
|---|
| 6 | #include <Namespace.h>
|
|---|
| 7 |
|
|---|
| 8 | using namespace std;
|
|---|
| 9 |
|
|---|
| 10 | class Prototype
|
|---|
| 11 | {
|
|---|
| 12 | // 名前空間
|
|---|
| 13 | NamespaceScopes namespaceScopes;
|
|---|
| 14 |
|
|---|
| 15 | //名前
|
|---|
| 16 | string name;
|
|---|
| 17 |
|
|---|
| 18 | public:
|
|---|
| 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.