| Rev | Line |   | 
|---|
| [322] | 1 | #pragma once
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | #include <Hashmap.h>
 | 
|---|
| [325] | 4 | #include <Procedure.h>
 | 
|---|
| [322] | 5 | 
 | 
|---|
 | 6 | class Delegate : public Procedure, public Jenga::Common::ObjectInHashmap<Delegate>
 | 
|---|
 | 7 | {
 | 
|---|
 | 8 | public:
 | 
|---|
 | 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 | 
 | 
|---|
 | 20 | class Delegates : public Jenga::Common::Hashmap<Delegate>
 | 
|---|
 | 21 | {
 | 
|---|
 | 22 | public:
 | 
|---|
 | 23 |     void Collect( const BasicSource &source );
 | 
|---|
 | 24 |     void GenerateSourceCode( std::string &destSource );
 | 
|---|
 | 25 | };
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.