#include <registryiterator.hh>
Public Member Functions | |
Type const & | aliased () const |
Type & | get_ () |
std::string | getBasename () const |
std::string | getName () const |
std::string | getNamespace () const |
Registry const & | getRegistry () const |
std::string | getSource () const |
bool | isAlias () const |
bool | isPersistent () const |
RegistryIterator (RegistryIterator const &other) | |
Private Types | |
typedef Registry::TypeMap::const_iterator | BaseIter |
Private Member Functions | |
Type const & | dereference () const |
bool | equal (RegistryIterator const &other) const |
void | increment () |
RegistryIterator (Registry const ®istry, BaseIter init) | |
Private Attributes | |
BaseIter | m_iter |
Registry const & | m_registry |
Friends | |
class | boost::iterator_core_access |
class | Registry |
Iterator on the types of the registry
Definition at line 14 of file registryiterator.hh.
typedef Registry::TypeMap::const_iterator Typelib::RegistryIterator::BaseIter [private] |
Definition at line 47 of file registryiterator.hh.
Typelib::RegistryIterator::RegistryIterator | ( | RegistryIterator const & | other | ) | [inline] |
Definition at line 23 of file registryiterator.hh.
Typelib::RegistryIterator::RegistryIterator | ( | Registry const & | registry, |
BaseIter | init | ||
) | [inline, explicit, private] |
Definition at line 51 of file registryiterator.hh.
Type const& Typelib::RegistryIterator::aliased | ( | ) | const [inline] |
Returns the aliased type if isAlias() is true
Definition at line 37 of file registryiterator.hh.
Type const& Typelib::RegistryIterator::dereference | ( | ) | const [inline, private] |
Definition at line 59 of file registryiterator.hh.
bool Typelib::RegistryIterator::equal | ( | RegistryIterator const & | other | ) | const [inline, private] |
Definition at line 55 of file registryiterator.hh.
Type& Typelib::RegistryIterator::get_ | ( | ) | [inline] |
Definition at line 44 of file registryiterator.hh.
std::string Typelib::RegistryIterator::getBasename | ( | ) | const [inline] |
The type name without the namespace
Definition at line 29 of file registryiterator.hh.
std::string Typelib::RegistryIterator::getName | ( | void | ) | const [inline] |
The type name
Definition at line 27 of file registryiterator.hh.
std::string Typelib::RegistryIterator::getNamespace | ( | ) | const [inline] |
The type namespace
Definition at line 31 of file registryiterator.hh.
Registry const& Typelib::RegistryIterator::getRegistry | ( | ) | const [inline] |
Definition at line 42 of file registryiterator.hh.
std::string Typelib::RegistryIterator::getSource | ( | ) | const [inline] |
The source ID for this type
Definition at line 33 of file registryiterator.hh.
void Typelib::RegistryIterator::increment | ( | ) | [inline, private] |
Definition at line 57 of file registryiterator.hh.
bool Typelib::RegistryIterator::isAlias | ( | ) | const [inline] |
Returns true if the type is an alias for another type
Definition at line 35 of file registryiterator.hh.
bool Typelib::RegistryIterator::isPersistent | ( | ) | const [inline] |
Returns true if the type should be saved on export. Derived types (arrays, pointers) are not persistent
Definition at line 40 of file registryiterator.hh.
friend class boost::iterator_core_access [friend] |
Definition at line 53 of file registryiterator.hh.
friend class Registry [friend] |
Definition at line 20 of file registryiterator.hh.
BaseIter Typelib::RegistryIterator::m_iter [private] |
Definition at line 49 of file registryiterator.hh.
Registry const& Typelib::RegistryIterator::m_registry [private] |
Definition at line 48 of file registryiterator.hh.