CppParser
Loading...
Searching...
No Matches
cpputil.h File Reference
#include <boost/filesystem.hpp>
#include "cppast.h"
#include "cppconst.h"
Include dependency graph for cpputil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using CppProgFileSelecter = std::function< bool(const std::string &)>
 

Functions

void collectFiles (std::vector< std::string > &files, const fs::path &path, const CppProgFileSelecter &fileSelector)
 
std::vector< std::string > collectFiles (const std::string &folder, const CppProgFileSelecter &fileSelector)
 
CppAccessType defaultAccessType (CppCompoundType type)
 
CppAccessType effectiveAccessType (CppAccessType objAccessType, CppCompoundType ownerType)
 
CppAccessType resolveInheritanceType (CppAccessType inheritanceType, CppCompoundType type)
 

Typedef Documentation

◆ CppProgFileSelecter

using CppProgFileSelecter = std::function<bool(const std::string&)>

Definition at line 33 of file cpputil.h.

Function Documentation

◆ collectFiles() [1/2]

std::vector< std::string > collectFiles ( const std::string &  folder,
const CppProgFileSelecter fileSelector 
)
inline

Definition at line 37 of file cpputil.h.

Here is the call graph for this function:

◆ collectFiles() [2/2]

void collectFiles ( std::vector< std::string > &  files,
const fs::path &  path,
const CppProgFileSelecter fileSelector 
)

Definition at line 101 of file utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ defaultAccessType()

CppAccessType defaultAccessType ( CppCompoundType  type)
inline

Definition at line 45 of file cpputil.h.

Here is the caller graph for this function:

◆ effectiveAccessType()

CppAccessType effectiveAccessType ( CppAccessType  objAccessType,
CppCompoundType  ownerType 
)
inline

Definition at line 50 of file cpputil.h.

Here is the call graph for this function:

◆ resolveInheritanceType()

CppAccessType resolveInheritanceType ( CppAccessType  inheritanceType,
CppCompoundType  type 
)
inline

Definition at line 55 of file cpputil.h.

Here is the call graph for this function: