* de.po: sync with branch.
[lyx.git] / src / FloatList.h
blob50db0944b2c5b7b0fdbb1e3d7b4d32d03554727a
1 // -*- C++ -*-
2 /**
3 * \file FloatList.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
12 #ifndef FLOATLIST_H
13 #define FLOATLIST_H
15 #include "Floating.h"
17 #include <map>
18 #include <string>
21 namespace lyx {
24 ///
25 class FloatList {
26 public:
27 ///
28 typedef std::map<std::string, Floating> List;
29 ///
30 typedef List::const_iterator const_iterator;
31 ///
32 FloatList();
33 ///
34 const_iterator begin() const;
35 ///
36 const_iterator end() const;
37 ///
38 void newFloat(Floating const & fl);
39 ///
40 std::string const defaultPlacement(std::string const & t) const;
41 ///
42 bool typeExist(std::string const & t) const;
43 ///
44 Floating const & getType(std::string const & t) const;
45 ///
46 void erase(std::string const & t);
47 ///
48 const_iterator operator[](std::string const & t) const;
49 private:
50 ///
51 List list;
55 } // namespace lyx
57 #endif