diff options
Diffstat (limited to 'rtemstoolkit/rld-config.h')
-rw-r--r-- | rtemstoolkit/rld-config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rtemstoolkit/rld-config.h b/rtemstoolkit/rld-config.h index 5afc7b1..84e17f8 100644 --- a/rtemstoolkit/rld-config.h +++ b/rtemstoolkit/rld-config.h @@ -70,6 +70,13 @@ namespace rld bool single () const { return items_.size () == 1; } + + /** + * Operator to get an item. + */ + const std::string& operator [] (int index) const { + return items_[index].text; + } }; /** |