Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2016, 8:40:36 PM (8 years ago)
Author:
landauf
Message:

return collections directly instead of begin and end iterators.
this also fixes an issue in MultiStateEngine where two for-loops used begin() instead of end() in the loop condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v3/src/libraries/core/class/Identifier.h

    r11054 r11070  
    204204            /// Returns the map that stores all XMLPort params.
    205205            inline const std::map<std::string, XMLPortParamContainer*>& getXMLPortParamMap() const { return this->xmlportParamContainers_; }
    206             /// Returns a const_iterator to the beginning of the map that stores all XMLPort params.
    207             inline std::map<std::string, XMLPortParamContainer*>::const_iterator getXMLPortParamMapBegin() const { return this->xmlportParamContainers_.begin(); }
    208             /// Returns a const_iterator to the end of the map that stores all XMLPort params.
    209             inline std::map<std::string, XMLPortParamContainer*>::const_iterator getXMLPortParamMapEnd() const { return this->xmlportParamContainers_.end(); }
    210206
    211207            /// Returns the map that stores all XMLPort objects.
    212208            inline const std::map<std::string, XMLPortObjectContainer*>& getXMLPortObjectMap() const { return this->xmlportObjectContainers_; }
    213             /// Returns a const_iterator to the beginning of the map that stores all XMLPort objects.
    214             inline std::map<std::string, XMLPortObjectContainer*>::const_iterator getXMLPortObjectMapBegin() const { return this->xmlportObjectContainers_.begin(); }
    215             /// Returns a const_iterator to the end of the map that stores all XMLPort objects.
    216             inline std::map<std::string, XMLPortObjectContainer*>::const_iterator getXMLPortObjectMapEnd() const { return this->xmlportObjectContainers_.end(); }
    217209
    218210            void addXMLPortParamContainer(const std::string& paramname, XMLPortParamContainer* container);
Note: See TracChangeset for help on using the changeset viewer.