OpenRTM-aist  1.2.1
Namespaces | Functions
File.h File Reference
#include <cstring>
#include <sys/types.h>
#include <dirent.h>
#include <libgen.h>
#include <string.h>
#include <sys/stat.h>
#include <coil/config_coil.h>
#include <coil/stringutil.h>
Include dependency graph for File.h:

Go to the source code of this file.

Namespaces

 coil
 Common Object Interface Layer.
 

Functions

std::string coil::dirname (char *path)
 Get a directory part than a file pass. More...
 
std::string coil::basename (const char *path)
 Get a file name part than a file pass. More...
 
coil::vstring coil::filelist (const char *path, const char *glob_str="")
 Get file list. More...
 
void coil::findFile (std::string dir, std::string filename, coil::vstring &filelist)
 
void coil::getFileList (std::string dir, std::string ext, coil::vstring &filelist)