| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# ParserUtils.cpp File Reference

implementation file for helper functions from namespace Gaudi::Parsers and namespace Gaudi::Parsers:Utils More...

`#include <iostream>`
`#include <fstream>`
`#include <boost/filesystem/operations.hpp>`
`#include <boost/tokenizer.hpp>`
`#include <boost/regex.hpp>`
`#include <boost/algorithm/string.hpp>`
`#include <boost/format.hpp>`
`#include "ParserUtils.h"`
`#include "ParserGrammar.h"`

Include dependency graph for ParserUtils.cpp:

Go to the source code of this file.

## Functions
StatusCode | Gaudi::Parsers::parse (Parser parser, const std::string &fileName, std::vector< Message > &msgs)
| Parse job options fiel using the configured parser object.
StatusCode | Gaudi::Parsers::parse (const std::string &filename, const std::vector< std::string > &searchPath, Catalogue &catalogue, std::vector< std::string > &included, std::vector< Message > &messages)
| Parse job options file.
StatusCode | Gaudi::Parsers::parse (const std::string &filename, const std::string &searchPath, Catalogue &catalogue, std::vector< std::string > &included, std::vector< Message > &messages)
| Parse job options file.
StatusCode | Gaudi::Parsers::parse (const std::string &filename, Catalogue &catalogue, std::vector< std::string > &included, std::vector< Message > &messages)
| Parse job options file.
StatusCode | Gaudi::Parsers::Utils::getEnv (const std::string &envName, std::string &envValue)
| Get enviroment variable.
std::string | Gaudi::Parsers::Utils::removeEnvironment (const std::string &input)
| Remove enviroment variables from string.
StatusCode | Gaudi::Parsers::Utils::searchFile (const std::string &fileInput, bool addCurrent, const std::vector< std::string > &dirs, std::string &fileOutput)
| Search file StatusCode::SUCCESS if file was founded.
StatusCode | Gaudi::Parsers::Utils::readFile (const std::string &name, std::string &result)
| Read file to string.
bool | Gaudi::Parsers::Utils::isWin ()
| Check if os is Windows.
std::string | Gaudi::Parsers::Utils::pathSeparator ()
| Get path separator.
std::vector< std::string > | Gaudi::Parsers::Utils::extractPath (const std::string &input, bool removeEnv=true)
| Extract paths separeted by '.
StatusCode | Gaudi::Parsers::Utils::parseValue (const std::string &input, std::string &stringResult, std::vector< std::string > &vectorResult)
| Try to recognize string as value of job options type.

## Detailed Description

implementation file for helper functions from namespace Gaudi::Parsers and namespace Gaudi::Parsers:Utils

See also:
  Gaudi::Parsers

  Gaudi::Parsers::Utils

Author:
  Alexander MAZUROV Alexander.Mazurov@gmail.com

  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2006-05-13

Definition in file ParserUtils.cpp.