X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloatList.h;h=a2b9860fae35860c3e7a4b7995b1003e00b388c0;hb=9dafe9b9a5cb12e19e0f3a1a9669d81dc140b0e3;hp=aed0dfa79b7f92f7766a1e5136a494c5cc6614e0;hpb=797d87b4513088a66b17c7ac653b84e36ea80458;p=lyx.git diff --git a/src/FloatList.h b/src/FloatList.h index aed0dfa79b..a2b9860fae 100644 --- a/src/FloatList.h +++ b/src/FloatList.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright 1998-2000 The LyX Team. + * Copyright 1998-2001 The LyX Team. * * ====================================================== */ @@ -27,15 +27,23 @@ public: /// typedef std::map List; /// + typedef List::const_iterator const_iterator; + /// FloatList(); /// + const_iterator begin() const; + /// + const_iterator end() const; + /// void newFloat(Floating const & fl); /// - string defaultPlacement(string const & t) const; + string const defaultPlacement(string const & t) const; /// bool typeExist(string const & t) const; /// Floating const & getType(string const & t) const; + /// + const_iterator operator[](string const & t) const; private: /// List list;