Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

VulnerableKiller Class Reference

#include <InferiorCells.hpp>

List of all members.

Public Member Functions

 VulnerableKiller (HexPoint killer)
 Creates killer with empty carrier.
 VulnerableKiller (HexPoint killer, const bitset_t &carrier)
 Creates killer with given carrier.
HexPoint killer () const
bitset_t carrier () const
bool operator== (const VulnerableKiller &other) const
bool operator!= (const VulnerableKiller &other) const
bool operator< (const VulnerableKiller &other) const

Private Attributes

HexPoint m_killer
bitset_t m_carrier

Detailed Description

Definition at line 16 of file InferiorCells.hpp.


Constructor & Destructor Documentation

VulnerableKiller::VulnerableKiller ( HexPoint  killer  )  [inline]

Creates killer with empty carrier.

Definition at line 38 of file InferiorCells.hpp.

VulnerableKiller::VulnerableKiller ( HexPoint  killer,
const bitset_t carrier 
) [inline]

Creates killer with given carrier.

Definition at line 44 of file InferiorCells.hpp.


Member Function Documentation

bitset_t VulnerableKiller::carrier (  )  const [inline]

Definition at line 56 of file InferiorCells.hpp.

References m_carrier.

HexPoint VulnerableKiller::killer (  )  const [inline]

Definition at line 51 of file InferiorCells.hpp.

References m_killer.

bool VulnerableKiller::operator!= ( const VulnerableKiller other  )  const [inline]

Definition at line 69 of file InferiorCells.hpp.

References operator==().

bool VulnerableKiller::operator< ( const VulnerableKiller other  )  const [inline]

Definition at line 74 of file InferiorCells.hpp.

References m_killer.

bool VulnerableKiller::operator== ( const VulnerableKiller other  )  const [inline]

Todo:
This ignores the carrier. This means only the first (killer, carrier) pair is stored for each killer. We may want to keep only the smallest carrier, or all of them.

Definition at line 61 of file InferiorCells.hpp.

References m_killer.

Referenced by operator!=().


Member Data Documentation

Definition at line 35 of file InferiorCells.hpp.

Referenced by carrier().

Definition at line 34 of file InferiorCells.hpp.

Referenced by killer(), operator<(), and operator==().


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


6 Jan 2011 Doxygen 1.6.3