| 1 |
#ifndef __WORLD_AH__ |
| 2 |
#define __WORLD_AH__ |
| 3 |
|
| 4 |
#include <iostream> |
| 5 |
#include <string> |
| 6 |
|
| 7 |
aspect Hello { |
| 8 |
|
| 9 |
advice get("char %") : before() { |
| 10 |
//print "Hello" before gettig the "World" String of the World Object |
| 11 |
std::cout << "Hello World"; |
| 12 |
} |
| 13 |
|
| 14 |
}; |
| 15 |
|
| 16 |
#endif |