Galactic Bloodshed
Classes | Public Member Functions | Protected Member Functions | List of all members
NameGenerator Class Referenceabstract

#include <namegen.h>

Inheritance diagram for NameGenerator:
Collaboration diagram for NameGenerator:

Classes

class  Iterator
 

Public Member Functions

virtual ~NameGenerator ()
 

Protected Member Functions

virtual bool next ()=0
 
virtual const std::string & current ()=0
 
auto begin ()
 
auto end ()
 

Detailed Description

Definition at line 10 of file namegen.h.

Constructor & Destructor Documentation

◆ ~NameGenerator()

virtual NameGenerator::~NameGenerator ( )
inlinevirtual

Definition at line 12 of file namegen.h.

Member Function Documentation

◆ begin()

auto NameGenerator::begin ( )
inlineprotected

Definition at line 65 of file namegen.h.

References NameGenerator::Iterator::Iterator().

Here is the call graph for this function:

◆ current()

virtual const std::string& NameGenerator::current ( )
protectedpure virtual

◆ end()

auto NameGenerator::end ( )
inlineprotected

Definition at line 66 of file namegen.h.

References NameGenerator::Iterator::Iterator().

Here is the call graph for this function:

◆ next()

virtual bool NameGenerator::next ( )
protectedpure virtual

Implemented in IterativeNameGenerator, and SequentialNameGenerator.

Referenced by NameGenerator::Iterator::operator++().

Here is the caller graph for this function:

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