NAP
Public Member Functions | Public Attributes | List of all members
PathMapping Class Reference

#include <nap/projectinfo.h>

Public Member Functions

const std::string & getFilename () const
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 

Public Attributes

std::string mProjectExeToRoot
 Relative path from project to executable. More...
 
std::string mNapkinExeToRoot
 Relative path from napkin to executable. More...
 
std::vector< std::string > mModulePaths
 Relative paths to the module directories. More...
 
std::string mBuildPath
 Relative path to the build output directory. More...
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

Allows ProjectInfo to find the executable, editor and modules.

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

Member Function Documentation

◆ getFilename()

const std::string& getFilename ( ) const
Returns
The absolute file path this PathMapping was loaded from

Member Data Documentation

◆ mBuildPath

std::string mBuildPath

Relative path to the build output directory.

◆ mModulePaths

std::vector<std::string> mModulePaths

Relative paths to the module directories.

◆ mNapkinExeToRoot

std::string mNapkinExeToRoot

Relative path from napkin to executable.

◆ mProjectExeToRoot

std::string mProjectExeToRoot

Relative path from project to executable.