Made type and attribute names case-insensitive.

Fixes #3223
This commit is contained in:
Gunnar Beutner 2012-10-23 15:57:45 +02:00
parent 0a99c0ba7e
commit a5f361b7b6
2 changed files with 5 additions and 4 deletions

View File

@ -74,11 +74,11 @@ public:
typedef function<DynamicObject::Ptr (const Dictionary::Ptr&)> Factory;
typedef map<String, Factory> ClassMap;
typedef map<String, DynamicObject::Ptr> NameMap;
typedef map<String, NameMap> TypeMap;
typedef map<String, Factory, boost::algorithm::is_iless> ClassMap;
typedef map<String, DynamicObject::Ptr, boost::algorithm::is_iless> NameMap;
typedef map<String, NameMap, boost::algorithm::is_iless> TypeMap;
typedef map<String, DynamicAttribute> AttributeMap;
typedef map<String, DynamicAttribute, boost::algorithm::is_iless> AttributeMap;
typedef AttributeMap::iterator AttributeIterator;
typedef AttributeMap::const_iterator AttributeConstIterator;

View File

@ -123,6 +123,7 @@ using std::type_info;
#include <boost/signal.hpp>
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/compare.hpp>
#include <boost/thread.hpp>
#include <boost/variant.hpp>
#include <boost/lexical_cast.hpp>