ModulesMap< Type > Class Template Reference

#include <modulesmap.h>

Public Types

typedef modules_t::const_iterator iterator

Public Member Functions

 ~ModulesMap ()
iterator begin () const
iterator end () const
void insert (const std::string &name, Module &module)
Type * find (const std::string &name)
Type * findModule (const std::string &name)
void foreachModule (const typename Modules< Type >::Visitor &visitor)

Private Types

typedef std::map< std::string,
Module * > 
modules_t

Private Attributes

modules_t m_modules

Detailed Description

template<typename Type>
class ModulesMap< Type >

Definition at line 32 of file modulesmap.h.


Member Typedef Documentation

template<typename Type>
typedef modules_t::const_iterator ModulesMap< Type >::iterator

Definition at line 44 of file modulesmap.h.

template<typename Type>
typedef std::map<std::string, Module*> ModulesMap< Type >::modules_t [private]

Definition at line 34 of file modulesmap.h.


Constructor & Destructor Documentation

template<typename Type>
ModulesMap< Type >::~ModulesMap (  )  [inline]

Definition at line 37 of file modulesmap.h.

References i, and ModulesMap< Type >::m_modules.


Member Function Documentation

template<typename Type>
iterator ModulesMap< Type >::begin (  )  const [inline]

Definition at line 46 of file modulesmap.h.

References ModulesMap< Type >::m_modules.

template<typename Type>
iterator ModulesMap< Type >::end (  )  const [inline]

Definition at line 50 of file modulesmap.h.

References ModulesMap< Type >::m_modules.

template<typename Type>
Type* ModulesMap< Type >::find ( const std::string name  )  [inline]

Definition at line 66 of file modulesmap.h.

References i, and ModulesMap< Type >::m_modules.

Referenced by ModulesMap< Type >::findModule().

template<typename Type>
Type* ModulesMap< Type >::findModule ( const std::string name  )  [inline]

Definition at line 75 of file modulesmap.h.

References ModulesMap< Type >::find().

template<typename Type>
void ModulesMap< Type >::foreachModule ( const typename Modules< Type >::Visitor &  visitor  )  [inline]

Definition at line 79 of file modulesmap.h.

References i, and ModulesMap< Type >::m_modules.

template<typename Type>
void ModulesMap< Type >::insert ( const std::string name,
Module &  module 
) [inline]

Definition at line 55 of file modulesmap.h.

References ModulesMap< Type >::m_modules.


Field Documentation

template<typename Type>
modules_t ModulesMap< Type >::m_modules [private]

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

Generated by  doxygen 1.6.2