Gaudi Framework, version v20r3

Generated: 24 Nov 2008

ParserUtils.cpp File Reference


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.

#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 (Gaudi::Parsers::Parser parser, const std::string &fileName, std::vector< Gaudi::Parsers::Message > &msgs)
StatusCode Gaudi::Parsers::parse (const string &filename, const vector< string > &searchPath, Gaudi::Parsers::Catalogue &catalogue, std::vector< std::string > &included, vector< Gaudi::Parsers::Message > &msgs)
StatusCode Gaudi::Parsers::parse (const string &filename, const string &searchPath, Gaudi::Parsers::Catalogue &catalogue, std::vector< std::string > &included, vector< Gaudi::Parsers::Message > &msgs)
StatusCode Gaudi::Parsers::parse (const string &filename, Gaudi::Parsers::Catalogue &catalogue, std::vector< std::string > &included, vector< Gaudi::Parsers::Message > &msgs)
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 string &input, std::string &stringResult, std::vector< std::string > &vectorResult)


Generated at Mon Nov 24 14:43:39 2008 for Gaudi Framework, version v20r3 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004