MeVisLab Toolbox Reference
ml::olFullPath Class Reference

This is a simple class that lets us do easy prepending of the info file's directory to a given relative path. More...

#include <ObjLoader/mlObjLoaderFrame.h>

Public Member Functions

 olFullPath (const olSpecializedLoader &sl, const std::string &relPath)
 Constructor. More...
 
 olFullPath (const olSpecializedLoader &sl, const char *relPath)
 Constructor. More...
 
 operator const char * () const
 (const char *) cast operator More...
 

Detailed Description

This is a simple class that lets us do easy prepending of the info file's directory to a given relative path.

This comes handy if files are included by reference in the info file.

Definition at line 114 of file mlObjLoaderFrame.h.

Constructor & Destructor Documentation

◆ olFullPath() [1/2]

ml::olFullPath::olFullPath ( const olSpecializedLoader sl,
const std::string &  relPath 
)
inline

Constructor.

Definition at line 118 of file mlObjLoaderFrame.h.

References ml::olSpecializedLoader::_infoFileDirectory, and SLASH.

◆ olFullPath() [2/2]

ml::olFullPath::olFullPath ( const olSpecializedLoader sl,
const char *  relPath 
)
inline

Constructor.

Definition at line 124 of file mlObjLoaderFrame.h.

References ml::olSpecializedLoader::_infoFileDirectory, and SLASH.

Member Function Documentation

◆ operator const char *()

ml::olFullPath::operator const char * ( ) const
inline

(const char *) cast operator

Definition at line 130 of file mlObjLoaderFrame.h.


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