![]() |
Carousel
|
The AbsolutePathComponentLocationConstructorDelegate class is used to constuct an absolute path to the library for a component. More...
#include <AbsolutePathComponentLocationConstructorDelegate.h>
Inherits IComponentLocationConstructorDelegate.
Public Member Functions | |
AbsolutePathComponentLocationConstructorDelegate (const QString &definitionLocation) | |
QString | constructLocation (const QString &relativePathToComponent) |
The AbsolutePathComponentLocationConstructorDelegate class is used to constuct an absolute path to the library for a component.
It uses definition's file path as a pivot, and a componen location path from the definition to format an absolute path.
AbsolutePathComponentLocationConstructorDelegate::AbsolutePathComponentLocationConstructorDelegate | ( | const QString & | definitionLocation | ) |
Initializes a new instance of the AbsolutePathComponentLocationConstructorDelegate class uses the path to the definition file.
To get the absolute library file name a definition's file path is used as a pivot for relative component path.
|
virtual |
Completes component location and returns the absolute path to the component.
Implements IComponentLocationConstructorDelegate.