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() {
14 return store
->toString();
17 Alien::Alien(INTEGER id
, const TypePath
&path
): Store(id
), d_path(path
), d_comps() {}
19 std::vector
<AlienComponent
*> & Alien::getComponents() {
23 std::string
Alien::toString() {
24 std::string sofar
= d_path
.toString() + "{ ";
25 for (int i
= 0; i
< d_comps
.size(); ++i
) {
26 sofar
+= d_comps
[i
]->toString() + " ";