4#ifndef __DCL_CONFIG_H__
10 #error "Required windows.h, See dcl/_windows.h"
16#ifndef __DCL_OBJECT_H__
19#ifndef __DCL_STRING_H__
22#ifndef __DCL_EXCEPTION_H__
42 typedef HANDLE HandleType;
44 typedef DIR* HandleType;
54 :
public WIN32_FIND_DATAW
103 Dir(
const String& _path)
137 const String& path()
const {
return __path; }
145inline bool Dir::Entry::isDir()
const
147 return (this->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
150inline bool Dir::Entry::isLink()
const
152 return (this->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
155inline bool Dir::Entry::isDir()
const
157 return this->d_type == DT_DIR;
160inline bool Dir::Entry::isLink()
const
162 return this->d_type == DT_LNK;
#define DECLARE_CLASSINFO(class_name)
if(!__handle->open(bs, bs.length()))
virtual String toString() const