// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
*
- * Copyright 1998-2000 The LyX Team.
+ * Copyright 1998-2001 The LyX Team.
*
* ======================================================
*/
#ifndef FLOATLIST_H
#define FLOATLIST_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include <map>
#include "LString.h"
///
typedef std::map<string, Floating> 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;
+ ///
+ void erase(string const & t);
+ ///
+ const_iterator operator[](string const & t) const;
private:
///
List list;
};
-extern FloatList floatList;
-
#endif