}
+string const FloatList::allowedPlacement(string const & t) const
+{
+ List::const_iterator cit = list.find(t);
+ if (cit != list.end())
+ return cit->second.allowedPlacement();
+ return string();
+}
+
+
bool FloatList::typeExist(string const & t) const
{
List::const_iterator cit = list.find(t);
}
+bool FloatList::allowsWide(string const & t) const
+{
+ List::const_iterator cit = list.find(t);
+ if (cit != list.end())
+ return cit->second.allowsWide();
+ return false;
+}
+
+
+bool FloatList::allowsSideways(string const & t) const
+{
+ List::const_iterator cit = list.find(t);
+ if (cit != list.end())
+ return cit->second.allowsSideways();
+ return false;
+}
+
+
Floating const & FloatList::getType(string const & t) const
{
// I wish we could use exceptions
#ifdef HAVE_EXCEPTIONS
throw UnknownFloatType(t);
#else
- static Floating empty_float;
+ static Floating const empty_float;
return empty_float;
#endif
}