tfel
Loading...
Searching...
No Matches
mfront::MFrontDatabase Struct Reference

a data structure containing the result of the analysis of some MFront libraries More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/MFrontDatabase.hxx>

Classes

struct  EntryPoint
 an intermediate structure describing an entry point More...
struct  Query
 data structure used to filter entry points More...
struct  AnalyseDirectoryOptions
 options for the analysis of a directory More...
struct  AnalyseDirectoryResults
 data structure resulting for the analysis of a directory More...

Public Member Functions

void analyseLibrary (const std::string &)
 analyse a library
void analyseLibraries (const std::vector< std::string > &)
 analyse a set of libraries
AnalyseDirectoryResults analyseDirectory (const std::string &)
 method used to analyse a directory with the default options
AnalyseDirectoryResults analyseDirectory (const std::string &, const AnalyseDirectoryOptions &)
 method used to analyse a directory
AnalyseDirectoryResults analyseDirectories (const std::vector< std::string > &)
 method used to analyse a list of directories with the default options
AnalyseDirectoryResults analyseDirectories (const std::vector< std::string > &, const AnalyseDirectoryOptions &)
 method used to analyse a list of directories
AnalyseDirectoryResults analyseDirectoriesListedInEnvironmentVariable (const std::string &)
 method used to analyse a list of directories given in an environment variable
AnalyseDirectoryResults analyseDirectoriesListedInEnvironmentVariable (const std::string &, const AnalyseDirectoryOptions &)
 method used to analyse a list of directories given in an environment variable
std::vector< EntryPoint > getEntryPoints (const Query &) const
const std::vector< EntryPoint > & getEntryPoints () const
void clear ()
 clear all registred entry points

Detailed Description

a data structure containing the result of the analysis of some MFront libraries

Member Function Documentation

◆ analyseDirectories() [1/2]

AnalyseDirectoryResults mfront::MFrontDatabase::analyseDirectories ( const std::vector< std::string > & )
nodiscard

method used to analyse a list of directories with the default options

Parameters
[in]ddirectory
Returns
the results of the analysis

◆ analyseDirectories() [2/2]

AnalyseDirectoryResults mfront::MFrontDatabase::analyseDirectories ( const std::vector< std::string > & ,
const AnalyseDirectoryOptions &  )
nodiscard

method used to analyse a list of directories

Parameters
[in]ddirectory
[in]optsoptions used for the analysis
Returns
the results of the analysis

◆ analyseDirectoriesListedInEnvironmentVariable() [1/2]

AnalyseDirectoryResults mfront::MFrontDatabase::analyseDirectoriesListedInEnvironmentVariable ( const std::string & )
nodiscard

method used to analyse a list of directories given in an environment variable

Parameters
[in]ddirectory
Returns
the results of the analysis
Note
if the environment variable is not defined, nothing is done

◆ analyseDirectoriesListedInEnvironmentVariable() [2/2]

AnalyseDirectoryResults mfront::MFrontDatabase::analyseDirectoriesListedInEnvironmentVariable ( const std::string & ,
const AnalyseDirectoryOptions &  )
nodiscard

method used to analyse a list of directories given in an environment variable

Parameters
[in]ddirectory
[in]optsoptions used for the analysis
Returns
the results of the analysis
Note
if the environment variable is not defined, nothing is done

◆ analyseDirectory() [1/2]

AnalyseDirectoryResults mfront::MFrontDatabase::analyseDirectory ( const std::string & )
nodiscard

method used to analyse a directory with the default options

Parameters
[in]ddirectory
Returns
the results of the analysis

◆ analyseDirectory() [2/2]

AnalyseDirectoryResults mfront::MFrontDatabase::analyseDirectory ( const std::string & ,
const AnalyseDirectoryOptions &  )
nodiscard

method used to analyse a directory

Parameters
[in]ddirectory
[in]optsoptions used for the analysis
Returns
the results of the analysis

◆ analyseLibraries()

void mfront::MFrontDatabase::analyseLibraries ( const std::vector< std::string > & )

analyse a set of libraries

Parameters
[in]librarieslibraries to be analysed

◆ analyseLibrary()

void mfront::MFrontDatabase::analyseLibrary ( const std::string & )

analyse a library

Parameters
[in]llibrary to be analysed

◆ getEntryPoints() [1/2]

const std::vector< EntryPoint > & mfront::MFrontDatabase::getEntryPoints ( ) const
nodiscard
Returns
all the entry points

◆ getEntryPoints() [2/2]

std::vector< EntryPoint > mfront::MFrontDatabase::getEntryPoints ( const Query & ) const
nodiscard
Returns
the list of entry points matching the given query
Parameters
[in]qquery

The documentation for this struct was generated from the following file: