Show
Ignore:
Timestamp:
11/09/10 14:23:43 (3 years ago)
Author:
robert
Message:

Refactored the versioning of serializers so it now uses a _firstVersion and _lastVersion make it possible
to specify what range of versions support each serializer.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgDB/ObjectWrapper

    r11902 r11903  
    5757    const StringList& getAssociates() const { return _associates; } 
    5858 
    59     void addSerializer( BaseSerializer* s, BaseSerializer::Type t=BaseSerializer::RW_UNDEFINED ) 
    60     { s->_version = _version; _serializers.push_back(s); _typeList.push_back(static_cast<int>(t)); } 
    61  
     59    void addSerializer( BaseSerializer* s, BaseSerializer::Type t=BaseSerializer::RW_UNDEFINED ); 
    6260    void markSerializerAsRemoved( const std::string& name ); 
    6361    BaseSerializer* getSerializer( const std::string& name );