mbHighPassage Class Reference

#include <mb-high-passage.hpp>

Inheritance diagram for mbHighPassage:

Inheritance graph
Collaboration diagram for mbHighPassage:

Collaboration graph
List of all members.

Detailed Description

Defines an object for the High Passage mustering out benefit.

See also:


Definition at line 36 of file mb-high-passage.hpp.

Public Member Functions

 mbHighPassage ()
void XMLout (FILE *fout)

Constructor & Destructor Documentation

mbHighPassage::mbHighPassage (  ) 

Class constructor

See also:
mbPassageObj::mbPassageObj(char *s)

Definition at line 28 of file mb-high-passage.cpp.

References materialBenefit::setQuantity().

00028                              : mbPassageObj(MB_HIGH_PASSAGE){
00029         this->setQuantity(1);
00030 }

Here is the call graph for this function:

Member Function Documentation

void mbHighPassage::XMLout ( FILE *  fout  )  [virtual]

Send well formed XML to a file

fout -- pointer to a file handle/buffer to write XML to

Reimplemented from mbPassageObj.

Definition at line 33 of file mb-high-passage.cpp.

00033                                     {
00034         fprintf(fout,"\t\t%s\n",createStartElement(MB_TAG));
00035         fprintf(fout,"\t\t\t%s%s%s\n",
00036                         createStartElement(MB_TYPE),
00037                         MB_HIGH_PASSAGE,
00038                         createEndElement(MB_TYPE));
00039         fprintf(fout,"\t\t\t%s%d%s\n",
00040                         createStartElement(MB_QUANTITY),
00041                         this->getQuantity(),
00042                         createEndElement(MB_QUANTITY));
00043         fprintf(fout,"\t\t%s\n",createEndElement(MB_TAG));
00045 }

The documentation for this class was generated from the following files:
Generated on Fri Mar 7 16:41:57 2008 for frpuniverse by  doxygen 1.4.7