Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/sys/Plugger.h>
Public Member Functions | |
Iterator (Plugger &_plugger) | |
~Iterator (void) | |
bool | ended (void) const |
String | item (void) const |
void | next (void) |
Plugin * | plug (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 |
Used for exploring plugins hookable on the current plugger.
elm::sys::Plugger::Iterator::Iterator | ( | Plugger & | _plugger | ) |
Build a new iterator.
plugger | Used plugger. |
elm::sys::Plugger::Iterator::~Iterator | ( | void | ) |
Free the IteratorInst passed at construction.
bool elm::sys::Plugger::Iterator::ended | ( | void | ) | const |
Test if the iteration is ended.
String elm::sys::Plugger::Iterator::item | ( | void | ) | const |
Get the 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.
Plugin * elm::sys::Plugger::Iterator::plug | ( | void | ) | const |
Plug the current plugin.