Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
Typelib::RegistryIterator Class Reference

#include <registryiterator.hh>

List of all members.

Public Member Functions

Type const & aliased () const
Typeget_ ()
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 &registry, BaseIter init)

Private Attributes

BaseIter m_iter
Registry const & m_registry

Friends

class boost::iterator_core_access
class Registry

Detailed Description

Iterator on the types of the registry

Definition at line 14 of file registryiterator.hh.


Member Typedef Documentation

typedef Registry::TypeMap::const_iterator Typelib::RegistryIterator::BaseIter [private]

Definition at line 47 of file registryiterator.hh.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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.

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.


Friends And Related Function Documentation

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.


Member Data Documentation

Definition at line 49 of file registryiterator.hh.

Definition at line 48 of file registryiterator.hh.


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


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:41