]> git.lyx.org Git - features.git/blob - src/FloatList.h
dont use pragma impementation and interface anymore
[features.git] / src / FloatList.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 1998-2001 The LyX Team.
8  *
9  * ======================================================
10  */
11
12 #ifndef FLOATLIST_H
13 #define FLOATLIST_H
14
15 #include <map>
16
17 #include "LString.h"
18 #include "Floating.h"
19
20 ///
21 class FloatList {
22 public:
23         ///
24         typedef std::map<string, Floating> List;
25         ///
26         typedef List::const_iterator const_iterator;
27         ///
28         FloatList();
29         ///
30         const_iterator begin() const;
31         ///
32         const_iterator end() const;
33         ///
34         void newFloat(Floating const & fl);
35         ///
36         string const defaultPlacement(string const & t) const;
37         ///
38         bool typeExist(string const & t) const;
39         ///
40         Floating const & getType(string const & t) const;
41         ///
42         void erase(string const & t);
43         ///
44         const_iterator operator[](string const & t) const;
45 private:
46         ///
47         List list;
48 };
49
50 #endif