49d19fe5c9b06829bdc8deac3a688890da957b78
5 AlienPiece::AlienPiece(const char * const _data
, const size_t _len
): data(_data
), len(_len
) {}
7 std::string
AlienPiece::toString() {
8 return std::string("AlienPiece");
11 AlienPart::AlienPart(Store
* const _store
): store(_store
) {}
13 std::string
AlienPart::toString() {
15 return store
->toString();
20 Alien::Alien(INTEGER id
, const TypePath
&path
): Store(id
), d_path(path
), d_comps() {}
22 std::vector
<AlienComponent
*> & Alien::getComponents() {
26 std::string
Alien::toString() {
27 std::string sofar
= d_path
.toString() + "{ ";
28 for (int i
= 0; i
< d_comps
.size(); ++i
) {
29 sofar
+= d_comps
[i
]->toString() + " ";