Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::sys::Plugger::Iterator Class Reference

#include <elm/sys/Plugger.h>

+ Inheritance diagram for elm::sys::Plugger::Iterator:

Public Member Functions

 Iterator (Plugger &_plugger)
 
 ~Iterator (void)
 
bool ended (void) const
 
String item (void) const
 
void next (void)
 
Pluginplug (void) const
 
Path path (void) const
 
- Public Member Functions inherited from elm::PreIterator< Iterator, String >
 operator bool (void) const
 
 operator String (void) const
 
Iterator & operator++ (void)
 
Iterator & operator++ (int)
 
String operator* (void) const
 
String operator-> (void) const
 

Detailed Description

Used for exploring plugins hookable on the current plugger.

Constructor & Destructor Documentation

elm::sys::Plugger::Iterator::Iterator ( Plugger _plugger)

Build a new iterator.

Parameters
pluggerUsed plugger.
elm::sys::Plugger::Iterator::~Iterator ( void  )

Free the IteratorInst passed at construction.

Member Function Documentation

bool elm::sys::Plugger::Iterator::ended ( void  ) const

Test if the iteration is ended.

Returns
True if it is ended.
String elm::sys::Plugger::Iterator::item ( void  ) const

Get the current plugin name.

Returns
Current plugin name.

References elm::String::length(), elm::sys::Path::namePart(), and elm::String::substring().

void elm::sys::Plugger::Iterator::next ( void  )

Go to the next plugin.

Path elm::sys::Plugger::Iterator::path ( void  ) const

Get the path of the current plug-in.

Returns
Plug-in path.
Plugin * elm::sys::Plugger::Iterator::plug ( void  ) const

Plug the current plugin.

Returns
Matching plugin.

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