Gaudi Framework, version v22r2

Home   Generated: Tue May 10 2011
Classes | Namespaces | Functions

ParserUtils.h File Reference

Collection of technical internal classes to implement JobOptionsSvc. More...

#include <string>
#include <vector>
#include <map>
#include <iostream>
#include "Catalogue.h"
#include "Position.h"
Include dependency graph for ParserUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Gaudi::Parsers::Message
 Parser message interface. More...
class  Gaudi::Parsers::Parser
 Parser controller. More...

Namespaces

namespace  Gaudi
 

Helper functions to set/get the application return code.


namespace  Gaudi::Parsers
namespace  Gaudi::Parsers::Utils

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.
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.
std::string Gaudi::Parsers::Utils::removeEnvironment (const std::string &input)
 Remove enviroment variables from string.
bool Gaudi::Parsers::Utils::isWin ()
 Check if os is Windows.
std::string Gaudi::Parsers::Utils::pathSeparator ()
 Get path separator.
std::vector< std::stringGaudi::Parsers::Utils::extractPath (const std::string &input, bool removeEnv=true)
 Extract paths separeted by '.
StatusCode Gaudi::Parsers::Utils::readFile (const std::string &name, std::string &result)
 Read file to string.
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

Collection of technical internal classes to implement JobOptionsSvc.

Author:
Alexander MAZUROV Alexander.Mazurov@gmail.com
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-05-13

Definition in file ParserUtils.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Tue May 10 2011 18:54:29 for Gaudi Framework, version v22r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004