#include <soap_structures.h>
Public Methods | |
| SOAPEntity () | |
| SOAPEntity (const DALT_Client::Entity &e) | |
| DALT_Client::Entity* | createEntity () |
| bool | operator== (const SOAPEntity &other) const |
| bool | operator!= (const SOAPEntity &other) const |
Public Attributes | |
| int | entity_id |
| SOAPString | entity_type |
| SOAPArray<int> | coordinates |
A null entity is represented by an id of 0 and/or an empty type. The server will generate the entity ids starting with 1
Definition at line 41 of file soap_structures.h.
|
|
Definition at line 47 of file soap_structures.h. 00047 {}
|
|
|
Definition at line 48 of file soap_structures.h. 00049 {
00050 entity_id = e.id;
00051 entity_type = e.type.c_str();
00052 for(unsigned int i=0;i<e.coordinates.size();i++)
00053 coordinates.Add(e.coordinates[i]);
00054 }
|
|
|
Definition at line 56 of file soap_structures.h. 00057 {
00058 vector<int> vec_coord;
00059 for(unsigned int i=0;i<coordinates.size();i++)
00060 vec_coord.push_back(coordinates[i]);
00061 return new DALT_Client::Entity(entity_type.Str(), entity_id, vec_coord);
00062 }
|
|
|
Definition at line 71 of file soap_structures.h. 00072 {
00073 return entity_id != other.entity_id ||
00074 entity_type != other.entity_type ||
00075 !(coordinates == other.coordinates);
00076 }
|
|
|
Definition at line 64 of file soap_structures.h. 00065 {
00066 return entity_id == other.entity_id &&
00067 entity_type == other.entity_type &&
00068 coordinates == other.coordinates;
00069 }
|
|
|
Definition at line 45 of file soap_structures.h. |
|
|
Definition at line 43 of file soap_structures.h. |
|
|
Definition at line 44 of file soap_structures.h. |
1.2.8 written by Dimitri van Heesch,
© 1997-2001