orocos_cpp
Static Public Member Functions | List of all members
orocos_cpp::PkgConfigHelper Class Reference

#include <PkgConfigHelper.hpp>

Static Public Member Functions

static bool parsePkgConfig (const std::string &pkgConfigFileName, const std::vector< std::string > &searchedFields, std::vector< std::string > &result)
 
static bool solveString (std::string &input, const std::string &replace, const std::string &by)
 

Member Function Documentation

bool PkgConfigHelper::parsePkgConfig ( const std::string &  pkgConfigFileName,
const std::vector< std::string > &  searchedFields,
std::vector< std::string > &  result 
)
static

Helper function that parses a pkg-Config file. Will open the file of the given name, and search for the fields given in searchedFields. The content of the field will be returned in the result vector in the same order as searchedFields.

bool PkgConfigHelper::solveString ( std::string &  input,
const std::string &  replace,
const std::string &  by 
)
static

Helper function, to replace a given string by a given string in an input string.


The documentation for this class was generated from the following files: