Design Pattern Examples
Overview of object-oriented design patterns
Iterator_Class.h File Reference

Declaration of the IteratorContainer_Class class, the IIterator interface, along with the implementations of the Iterator and ItemPair classes as used in the Iterator Pattern. More...

#include <algorithm>
#include <memory>
#include "helpers/stringlist.h"
Include dependency graph for Iterator_Class.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ItemPair
 Represents a key/value pair where the key and value are strings. More...
 
struct  IIterator< TItemType >
 Represents an iterator for some type. This is a forward-only iterator in that it can only start at 0 and increment through the items until done. More...
 
class  Iterator< TItemType >
 Represents an iterator for a container by implementing the IIterator interface. More...
 
class  IteratorContainer_Class
 Represents a container that offers up two kinds of iterators for the hardcoded contents, ItemPair and std::string. More...
 

Namespaces

namespace  DesignPatternExamples_cpp
 The namespace containing all Design Pattern Examples implemented in C++.
 

Macros

#define __ITERATOR_CLASS_H__
 

Detailed Description

Declaration of the IteratorContainer_Class class, the IIterator interface, along with the implementations of the Iterator and ItemPair classes as used in the Iterator Pattern.

Definition in file Iterator_Class.h.

Macro Definition Documentation

◆ __ITERATOR_CLASS_H__

#define __ITERATOR_CLASS_H__

Definition at line 12 of file Iterator_Class.h.