Last change
on this file since 36 was
31,
checked in by rosiere, 17 years ago
|
Class Position qui encapsule la génération des fichiers de positions
|
File size:
812 bytes
|
Rev | Line | |
---|
[31] | 1 | #ifdef POSITION |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/include/Entity.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | Entity::Entity (string name , |
---|
| 15 | string type , |
---|
| 16 | schema_t schema): |
---|
| 17 | _name (name ), |
---|
| 18 | _type (type ), |
---|
| 19 | _schema (schema ) |
---|
| 20 | { |
---|
| 21 | _is_map = false; |
---|
| 22 | }; |
---|
| 23 | |
---|
| 24 | Entity::Entity (const Entity & entity): |
---|
| 25 | _name (entity._name ), |
---|
| 26 | _type (entity._type ), |
---|
| 27 | _schema (entity._schema ) |
---|
| 28 | { |
---|
| 29 | _is_map = entity._is_map ; |
---|
| 30 | _interfaces = entity._interfaces; |
---|
| 31 | _comment = entity._comment ; |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | Entity::~Entity () |
---|
| 35 | { |
---|
| 36 | delete _interfaces; |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | }; // end namespace behavioural |
---|
| 41 | }; // end namespace morpheo |
---|
| 42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.