Galactic Bloodshed
Public Member Functions | Private Attributes | List of all members
Shiplist::Iterator Class Reference

#include <ships.h>

Collaboration diagram for Shiplist::Iterator:

Public Member Functions

 Iterator (shipnum_t a)
 
auto & operator* ()
 
Iteratoroperator++ ()
 
bool operator!= (const Iterator &rhs)
 

Private Attributes

Ship elem {}
 

Detailed Description

Definition at line 279 of file ships.h.

Constructor & Destructor Documentation

◆ Iterator()

Shiplist::Iterator::Iterator ( shipnum_t  a)

Definition at line 105 of file ships.cc.

Member Function Documentation

◆ operator!=()

bool Shiplist::Iterator::operator!= ( const Iterator rhs)
inline

Definition at line 284 of file ships.h.

◆ operator*()

auto& Shiplist::Iterator::operator* ( )
inline

Definition at line 282 of file ships.h.

◆ operator++()

Shiplist::Iterator & Shiplist::Iterator::operator++ ( )

Definition at line 115 of file ships.cc.

Member Data Documentation

◆ elem

Ship Shiplist::Iterator::elem {}
private

Definition at line 289 of file ships.h.


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