51    const std::string & path,
 
   55    std::string & filename);
 
   59#ifndef IGL_STATIC_LIBRARY 
   60#  include "pathinfo.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void pathinfo(const std::string &path, std::string &dirname, std::string &basename, std::string &extension, std::string &filename)
Function like PHP's pathinfo to return information about path.
 
std::string basename(const std::string &path)
Extract basename of file path (like PHP's basename).
 
std::string dirname(const std::string &path)
Function like PHP's dirname: /etc/passwd --> /etc,.
 
std::string extension(const std::string &path)
Extract file extension from path.