Back to Aurora Vision Library website

You are here: Start » Function Reference » System » File System » ConvertPathToRelative

ConvertPathToRelative


Header: STD.h
Namespace: avl
Module: FoundationLite

Makes the path relative to inBasePath

Syntax

void avl::ConvertPathToRelative
(
	const atl::String& inPath,
	const atl::Optional<atl::Directory> inBasePath,
	atl::String& outPath
)

Parameters

Name Type Default Description
Input value inPath const String& absolute path
Input value inBasePath const Optional<Directory> NIL base path, by default the path of the project or where the program was executed in case of AVL
Output value outPath String& the resulting relative path