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

#include <nap/projectinfo.h>

Public Member Functions

std::string getFilename () const
 
std::string getDirectory () const
 
const ProjectInfogetProjectInfo () 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::vector< std::string > mRequiredModules
 Property: 'RequiredModules' names of modules this module depends on. More...
 
std::vector< std::string > mLibSearchPaths
 Property: 'WindowsDllSearchPaths' additional windows dll search paths. More...
 
std::vector< std::string > mDataSearchPaths
 Property: 'DataSearchPaths' additional module data search paths. 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

Contains module specific information, including the names of the modules this module depends on.

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

Member Function Documentation

◆ getDirectory()

std::string getDirectory ( ) const
Returns
The absolute path to the directory that contains this ModuleInfo file

◆ getFilename()

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

◆ getProjectInfo()

const ProjectInfo& getProjectInfo ( ) const
Returns
The ProjectInfo instance this ModuleInfo 'belongs' to.

Member Data Documentation

◆ mDataSearchPaths

std::vector<std::string> mDataSearchPaths

Property: 'DataSearchPaths' additional module data search paths.

◆ mLibSearchPaths

std::vector<std::string> mLibSearchPaths

Property: 'WindowsDllSearchPaths' additional windows dll search paths.

◆ mRequiredModules

std::vector<std::string> mRequiredModules

Property: 'RequiredModules' names of modules this module depends on.