Last change
on this file since 40 was
31,
checked in by rosiere, 17 years ago
|
Class Position qui encapsule la génération des fichiers de positions
|
File size:
501 bytes
|
Rev | Line | |
---|
[31] | 1 | #ifdef POSITION |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/include/Position.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | Entity * Position::set_entity (string name , |
---|
| 15 | string type , |
---|
| 16 | schema_t schema ) |
---|
| 17 | { |
---|
| 18 | Entity * entity = new Entity (name , |
---|
| 19 | type , |
---|
| 20 | schema ); |
---|
| 21 | _entity = entity; |
---|
| 22 | |
---|
| 23 | return entity; |
---|
| 24 | }; |
---|
| 25 | |
---|
| 26 | }; // end namespace behavioural |
---|
| 27 | }; // end namespace morpheo |
---|
| 28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.