source: dev/trunk/abdev/BasicCompiler_Common/include/Delegate.h@ 329

Last change on this file since 329 was 325, checked in by dai_9181, 17 years ago
File size: 604 bytes
Line 
1#pragma once
2
3#include <Hashmap.h>
4#include <Procedure.h>
5
6class Delegate : public Procedure, public Jenga::Common::ObjectInHashmap<Delegate>
7{
8public:
9 Delegate( const NamespaceScopes &namespaceScopes, const std::string &name, Procedure::Kind procKind, const char *paramStr, const Type &returnType, int nowLine );
10 Delegate()
11 {
12 }
13
14 virtual const std::string &GetKeyName() const
15 {
16 return GetName();
17 }
18};
19
20class Delegates : public Jenga::Common::Hashmap<Delegate>
21{
22public:
23 void Collect( const BasicSource &source );
24 void GenerateSourceCode( std::string &destSource );
25};
Note: See TracBrowser for help on using the repository browser.