Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 19, 2008, 2:18:55 AM (16 years ago)
Author:
landauf
Message:

changed the previously implemented assimilate function to take an optional default-value and to return false if the conversion failed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/util/MultiTypePrimitive.h

    r1319 r1320  
    187187        virtual bool fromString(const std::string value);
    188188
    189         virtual void assimilate(const MultiTypePrimitive& mtp);
     189        virtual bool assimilate(const MultiTypePrimitive& mtp, const MultiTypePrimitive& defvalue = MultiTypePrimitive());
    190190
    191191    protected:
Note: See TracChangeset for help on using the changeset viewer.