Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of ~archive/LoadParam


Ignore:
Timestamp:
Nov 27, 2007, 11:28:18 PM (17 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ~archive/LoadParam

    v1 v2  
    1 = LoadParam =
     1= !LoadParam =
    22A functor that enables us to (very) easy load many different Types of data onto all objects in orxonox.
    3 LoadParam can be found source:trunk/src/lib/util/loading/load_param.h#HEAD
     3!LoadParam can be found source:trunk/src/lib/util/loading/load_param.h#HEAD
    44
    55== Usage ==
     
    3030
    3131== what is cool about it ==
    32 Because LoadParam is a Functor with multiple input methoids it is comprehends (normally) what arguments must be given to the Function, and will split your input (in the XML-file) into what it needs.
     32Because !LoadParam is a Functor with multiple input methods it comprehends (normally) what arguments must be given to the Function, and will split your input (in the XML-file) into what it needs.
    3333
    3434== Example ==
     
    6161</Campaign>
    6262}}}
    63 as you can see also <name> gets loaded, this is because Campaign is derived from BaseObject, and as you can see in the loadParams function, its loadParams also gets called.
     63as you can see also <name> gets loaded, this is because Campaign is derived from [wiki:archive/BaseObject BaseObject], and as you can see in the loadParams function, its loadParams also gets called.
    6464
    6565also you may have noticed the Default arguments of <identifier>, because you specified 0 as default