hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
ObjectLinker Class Referenceabstract

#include <objectLinker.h>

Inheritance diagram for ObjectLinker:

Public Member Functions

 ObjectLinker (const yoi::vec< yoi::wstr > &objectPaths, const std::shared_ptr< IRBuildConfig > &config)
 
yoi::wstr getLinkerPath () const
 
ObjectLinkersetLinkerPath (const yoi::wstr &linkerPath)
 
yoi::vec< yoi::wstrgetObjectPaths () const
 
ObjectLinkersetObjectPaths (const yoi::vec< yoi::wstr > &objectPaths)
 
yoi::wstr getElysiaRuntimePath () const
 
ObjectLinkersetElysiaRuntimePath (const yoi::wstr &elysiaRuntimePath)
 
std::shared_ptr< IRBuildConfiggetConfig () const
 
ObjectLinkersetConfig (const std::shared_ptr< IRBuildConfig > &config)
 
virtual ObjectLinkersearchAndSetupLinker ()=0
 
virtual ObjectLinkerlink (const yoi::wstr &outputPath)=0
 
virtual ~ObjectLinker ()=default
 

Static Public Member Functions

static yoi::vec< yoi::wstrdefaultAdditionalLinkingFiles ()
 

Private Attributes

yoi::wstr linkerPath
 
yoi::vec< yoi::wstrobjectPaths
 
yoi::wstr elysiaRuntimePath
 
std::shared_ptr< IRBuildConfigconfig
 

Detailed Description

Definition at line 14 of file objectLinker.h.

Constructor & Destructor Documentation

◆ ObjectLinker()

ObjectLinker ( const yoi::vec< yoi::wstr > &  objectPaths,
const std::shared_ptr< IRBuildConfig > &  config 
)

Definition at line 8 of file objectLinker.cpp.

◆ ~ObjectLinker()

virtual ~ObjectLinker ( )
virtualdefault

Member Function Documentation

◆ defaultAdditionalLinkingFiles()

yoi::vec< yoi::wstr > defaultAdditionalLinkingFiles ( )
static

Definition at line 40 of file objectLinker.cpp.

References yoi::whereIsHoshiLang().

Referenced by main().

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

◆ getConfig()

std::shared_ptr< IRBuildConfig > getConfig ( ) const

Definition at line 32 of file objectLinker.cpp.

References ObjectLinker::config.

Referenced by ccObjectLinker::link(), and clObjectLinker::link().

Here is the caller graph for this function:

◆ getElysiaRuntimePath()

yoi::wstr getElysiaRuntimePath ( ) const

Definition at line 25 of file objectLinker.cpp.

References ObjectLinker::elysiaRuntimePath.

Referenced by ccObjectLinker::link(), and clObjectLinker::link().

Here is the caller graph for this function:

◆ getLinkerPath()

yoi::wstr getLinkerPath ( ) const

Definition at line 11 of file objectLinker.cpp.

References ObjectLinker::linkerPath.

Referenced by ccObjectLinker::link(), clObjectLinker::link(), and clObjectLinker::searchAndSetupLinker().

Here is the caller graph for this function:

◆ getObjectPaths()

yoi::vec< yoi::wstr > getObjectPaths ( ) const

Definition at line 22 of file objectLinker.cpp.

References ObjectLinker::objectPaths.

Referenced by ccObjectLinker::link(), and clObjectLinker::link().

Here is the caller graph for this function:

◆ link()

virtual ObjectLinker & link ( const yoi::wstr outputPath)
pure virtual

Implemented in ccObjectLinker, and clObjectLinker.

Referenced by main().

Here is the caller graph for this function:

◆ searchAndSetupLinker()

virtual ObjectLinker & searchAndSetupLinker ( )
pure virtual

Implemented in ccObjectLinker, and clObjectLinker.

Referenced by main().

Here is the caller graph for this function:

◆ setConfig()

ObjectLinker & setConfig ( const std::shared_ptr< IRBuildConfig > &  config)

Definition at line 35 of file objectLinker.cpp.

References ObjectLinker::config.

◆ setElysiaRuntimePath()

ObjectLinker & setElysiaRuntimePath ( const yoi::wstr elysiaRuntimePath)

Definition at line 28 of file objectLinker.cpp.

References ObjectLinker::elysiaRuntimePath.

Referenced by main().

Here is the caller graph for this function:

◆ setLinkerPath()

ObjectLinker & setLinkerPath ( const yoi::wstr linkerPath)

Definition at line 14 of file objectLinker.cpp.

References ObjectLinker::linkerPath.

Referenced by ccObjectLinker::ccObjectLinker(), ccObjectLinker::searchAndSetupLinker(), and clObjectLinker::searchAndSetupLinker().

Here is the caller graph for this function:

◆ setObjectPaths()

ObjectLinker & setObjectPaths ( const yoi::vec< yoi::wstr > &  objectPaths)

Definition at line 18 of file objectLinker.cpp.

References ObjectLinker::objectPaths.

Member Data Documentation

◆ config

std::shared_ptr<IRBuildConfig> config
private

Definition at line 18 of file objectLinker.h.

Referenced by ObjectLinker::getConfig(), and ObjectLinker::setConfig().

◆ elysiaRuntimePath

yoi::wstr elysiaRuntimePath
private

◆ linkerPath

yoi::wstr linkerPath
private

Definition at line 15 of file objectLinker.h.

Referenced by ObjectLinker::getLinkerPath(), and ObjectLinker::setLinkerPath().

◆ objectPaths

yoi::vec<yoi::wstr> objectPaths
private

Definition at line 16 of file objectLinker.h.

Referenced by ObjectLinker::getObjectPaths(), and ObjectLinker::setObjectPaths().


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