Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 19, 2012, 3:03:02 PM (13 years ago)
Author:
landauf
Message:

renamed set and get functions in MultiType:

  • setValue() → set()
  • getXYZ() → get<xyz>()

(e.g. get<int>() instead of getInt() and get<std::string>() instead of getString())

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/testing/src/libraries/core/Core.cc

    r8858 r9224  
    167167        this->configFileManager_ = new ConfigFileManager();
    168168        this->configFileManager_->setFilename(ConfigFileType::Settings,
    169             CommandLineParser::getValue("settingsFile").getString());
     169            CommandLineParser::getValue("settingsFile").get<std::string>());
    170170
    171171        // Required as well for the config values
     
    184184#if !defined(ORXONOX_PLATFORM_APPLE) && !defined(ORXONOX_USE_WINMAIN)
    185185        // Create persistent IO console
    186         if (CommandLineParser::getValue("noIOConsole").getBool())
     186        if (CommandLineParser::getValue("noIOConsole").get<bool>())
    187187        {
    188188            ModifyConfigValue(bStartIOConsole_, tset, false);
     
    337337    {
    338338        orxout(internal_info) << "loading graphics in Core" << endl;
    339        
     339
    340340        // Any exception should trigger this, even in upgradeToGraphics (see its remarks)
    341341        Loki::ScopeGuard unloader = Loki::MakeObjGuard(*this, &Core::unloadGraphics);
Note: See TracChangeset for help on using the changeset viewer.