mbLowPassage Class Reference

#include <mb-low-passage.hpp>

Inheritance diagram for mbLowPassage:

Inheritance graph
[legend]
Collaboration diagram for mbLowPassage:

Collaboration graph
[legend]
List of all members.

Detailed Description

A dubious benefit at best is the Low Passage, defined here.

See also:
mbPassageObj

materialBenefit

Definition at line 34 of file mb-low-passage.hpp.

Public Member Functions

 mbLowPassage ()
void XMLout (FILE *fout)


Constructor & Destructor Documentation

mbLowPassage::mbLowPassage (  ) 

Class constructor.

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

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

References materialBenefit::setQuantity().

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

Here is the call graph for this function:


Member Function Documentation

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

Send well formed (I hope!) XML to a file.

Parameters:
fout pointer to a file buffer/handle to write XML to.

Reimplemented from mbPassageObj.

Definition at line 32 of file mb-low-passage.cpp.

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


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