map::ump::TileAndAmount Struct Reference

#include <UMPAssembly.h>

Public Member Functions

 TileAndAmount (const std::string &tileName, const int min, const int max, bool fix=false)
const std::string toString () const
const std::string getTileName () const
const int getMinAmount () const
const int getMaxAmount () const
const bool isFix () const

Private Attributes

std::string _tileName
int _min
int _max
bool _fix

Detailed Description

Data structure containing both a tile name and the min/max amount for this assembly

Definition at line 13 of file UMPAssembly.h.


Constructor & Destructor Documentation

map::ump::TileAndAmount::TileAndAmount ( const std::string tileName,
const int  min,
const int  max,
bool  fix = false 
) [inline]

Definition at line 27 of file UMPAssembly.h.


Member Function Documentation

const int map::ump::TileAndAmount::getMaxAmount (  )  const [inline]

Definition at line 47 of file UMPAssembly.h.

References _max.

const int map::ump::TileAndAmount::getMinAmount (  )  const [inline]

Definition at line 43 of file UMPAssembly.h.

References _min.

const std::string map::ump::TileAndAmount::getTileName (  )  const [inline]

Definition at line 39 of file UMPAssembly.h.

References _tileName.

const bool map::ump::TileAndAmount::isFix (  )  const [inline]

Definition at line 51 of file UMPAssembly.h.

References _fix.

const std::string map::ump::TileAndAmount::toString (  )  const [inline]

Definition at line 32 of file UMPAssembly.h.

References _max, _min, and _tileName.


Field Documentation

Definition at line 23 of file UMPAssembly.h.

Referenced by isFix().

Definition at line 21 of file UMPAssembly.h.

Referenced by getMaxAmount(), and toString().

Definition at line 19 of file UMPAssembly.h.

Referenced by getMinAmount(), and toString().

Definition at line 17 of file UMPAssembly.h.

Referenced by getTileName(), and toString().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2