Column-oriented GPU-accelerated Database Management System
CoGaDB
/home/sebastian/gpudbms/trunk/cogadb/src/util/filesystem.cpp File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <unistd.h>
#include <dirent.h>
#include <string.h>
#include <err.h>
#include <iostream>
#include <fstream>
#include <list>
#include <vector>
#include <string>
Include dependency graph for filesystem.cpp:

Namespaces

namespace  CoGaDB
 

The global namespace of the programming tasks, to avoid name claches with other libraries.


Defines

#define WS_NONE   0
#define WS_RECURSIVE   (1 << 0)
#define WS_DEFAULT   WS_RECURSIVE
#define WS_FOLLOWLINK   (1 << 1) /* follow symlinks */
#define WS_DOTFILES   (1 << 2) /* per unix convention, .file is hidden */
#define WS_MATCHDIRS   (1 << 3) /* if pattern is used on dir names too */

Enumerations

enum  { CoGaDB::WALK_OK = 0, CoGaDB::WALK_BADPATTERN, CoGaDB::WALK_NAMETOOLONG, CoGaDB::WALK_BADIO }

Functions

const std::vector< std::string > CoGaDB::getFilesinDirectory (std::string dname)
bool CoGaDB::is_regular_file (const std::string &path)

Define Documentation

#define WS_DEFAULT   WS_RECURSIVE
#define WS_DOTFILES   (1 << 2) /* per unix convention, .file is hidden */
#define WS_FOLLOWLINK   (1 << 1) /* follow symlinks */
#define WS_MATCHDIRS   (1 << 3) /* if pattern is used on dir names too */
#define WS_NONE   0
#define WS_RECURSIVE   (1 << 0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines