Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 30, 2011, 7:51:08 PM (13 years ago)
Author:
landauf
Message:

Code related to config values for output is now implemented in BaseWriter.
There's a config value for the normal output level, a vector with additional contexts, and a config value for the level of these additional contexts.
ioconsole and standard console use the same values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/output/OutputManager.cc

    r8787 r8799  
    166166    }
    167167
     168    OutputContext OutputManager::getContextValue(const std::string& name) const
     169    {
     170        boost::bimap<OutputContext, std::string>::right_map::const_iterator it = this->contexts_.right.find(name);
     171        if (it != this->contexts_.right.end())
     172            return it->second;
     173        else
     174            return context::none;
     175    }
     176
    168177    std::string OutputManager::getComposedContextName(OutputContext context) const
    169178    {
Note: See TracChangeset for help on using the changeset viewer.