Changeset 8531776 in rtems-tools for rtemstoolkit


Ignore:
Timestamp:
Mar 23, 2015, 6:18:39 AM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
29ad92c
Parents:
4585798
Message:

rtemstoolkit: Add an array operator to return recs in a section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/rld-config.h

    r4585798 r8531776  
    7171        return items_.size () == 1;
    7272      }
     73
     74      /**
     75       * Operator to get an item.
     76       */
     77      const std::string& operator [] (int index) const {
     78        return items_[index].text;
     79      }
    7380    };
    7481
Note: See TracChangeset for help on using the changeset viewer.