RetroArch
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
DirStackFileIncluder Class Reference

#include <DirStackFileIncluder.h>

Inheritance diagram for DirStackFileIncluder:
[legend]
Collaboration diagram for DirStackFileIncluder:
[legend]

Public Member Functions

 DirStackFileIncluder ()
 
virtual IncludeResultincludeLocal (const char *headerName, const char *includerName, size_t inclusionDepth) override
 
virtual IncludeResultincludeSystem (const char *headerName, const char *, size_t) override
 
virtual void pushExternalLocalDirectory (const std::string &dir)
 
virtual void releaseInclude (IncludeResult *result) override
 
virtual ~DirStackFileIncluder () override
 
- Public Member Functions inherited from glslang::TShader::Includer
virtual ~Includer ()
 

Protected Types

typedef char tUserDataElement
 

Protected Member Functions

virtual IncludeResultreadLocalPath (const char *headerName, const char *includerName, int depth)
 
virtual IncludeResultreadSystemPath (const char *) const
 
virtual IncludeResultnewIncludeResult (const std::string &path, std::ifstream &file, int length) const
 
virtual std::string getDirectory (const std::string path) const
 

Protected Attributes

std::vector< std::stringdirectoryStack
 
int externalLocalDirectoryCount
 

Member Typedef Documentation

◆ tUserDataElement

Constructor & Destructor Documentation

◆ DirStackFileIncluder()

DirStackFileIncluder::DirStackFileIncluder ( )
inline

◆ ~DirStackFileIncluder()

virtual DirStackFileIncluder::~DirStackFileIncluder ( )
inlineoverridevirtual

Member Function Documentation

◆ getDirectory()

virtual std::string DirStackFileIncluder::getDirectory ( const std::string  path) const
inlineprotectedvirtual
Here is the caller graph for this function:

◆ includeLocal()

virtual IncludeResult* DirStackFileIncluder::includeLocal ( const char *  headerName,
const char *  includerName,
size_t  inclusionDepth 
)
inlineoverridevirtual

Reimplemented from glslang::TShader::Includer.

Here is the call graph for this function:

◆ includeSystem()

virtual IncludeResult* DirStackFileIncluder::includeSystem ( const char *  headerName,
const char *  ,
size_t   
)
inlineoverridevirtual

Reimplemented from glslang::TShader::Includer.

Here is the call graph for this function:

◆ newIncludeResult()

virtual IncludeResult* DirStackFileIncluder::newIncludeResult ( const std::string path,
std::ifstream &  file,
int  length 
) const
inlineprotectedvirtual
Here is the caller graph for this function:

◆ pushExternalLocalDirectory()

virtual void DirStackFileIncluder::pushExternalLocalDirectory ( const std::string dir)
inlinevirtual
Here is the caller graph for this function:

◆ readLocalPath()

virtual IncludeResult* DirStackFileIncluder::readLocalPath ( const char *  headerName,
const char *  includerName,
int  depth 
)
inlineprotectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readSystemPath()

virtual IncludeResult* DirStackFileIncluder::readSystemPath ( const char *  ) const
inlineprotectedvirtual
Here is the caller graph for this function:

◆ releaseInclude()

virtual void DirStackFileIncluder::releaseInclude ( IncludeResult result)
inlineoverridevirtual

Member Data Documentation

◆ directoryStack

std::vector<std::string> DirStackFileIncluder::directoryStack
protected

◆ externalLocalDirectoryCount

int DirStackFileIncluder::externalLocalDirectoryCount
protected

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