#include <mbb2-scout.hpp>
Inheritance diagram for mbb2Scout:
Definition at line 36 of file mbb2-scout.hpp.
Public Member Functions | |
mbb2Scout () | |
void | XMLout (FILE *fout) |
mbb2Scout::mbb2Scout | ( | ) |
Class constructor
Definition at line 27 of file mbb2-scout.cpp.
References book2Ship::addHull().
Here is the call graph for this function:
void mbb2Scout::XMLout | ( | FILE * | fout | ) | [virtual] |
Send well formed (I hope!) XML to a file.
fout | pointer to a file buffer/handle to write XML to. |
Reimplemented from mbShip.
Definition at line 31 of file mbb2-scout.cpp.
00031 { 00032 fprintf(fout,"\t\t%s\n",createStartElement(MB_TAG)); 00033 fprintf(fout,"\t\t\t%s%s%s\n", 00034 createStartElement(MB_TYPE), 00035 MB_SCOUT, 00036 createEndElement(MB_TYPE)); 00037 fprintf(fout,"\t\t\t%s%d%s\n", 00038 createStartElement(MB_AGE), 00039 this->getAge(), 00040 createEndElement(MB_AGE)); 00041 fprintf(fout,"\t\t%s\n",createEndElement(MB_TAG)); 00042 00043 }