Toggle navigation
Beam GIT List
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
bdbf10d4dfd924f118dc29da98a22199724c7962
Branches
master
Tags
tms/release-pre-2.1.0
tms/release-2.2.1
tms/release-2.2.0
tms/release-2.1.0
tms/release-2.0.6
tms/release-2.0.5
tms/release-2.0.4
tms/release-2.0.3first
tms/release-2.0.3
tms/release-1.2.12
tms/release-1.2.11
tms/release-1.2.10
tms/release-1.2.9
tms/release-1.2.8
tms/release-1.2.6a
tms/release-1.2.6
tms/release-1.2.4
tms/release-1.2.3
tms/release-1.2.2
tms/release-1.2.0
tms/release-1.1.2
tms/release-1.1.1
tms/release-1.0.2
tms/release-1.0.1
tms/release-1.0.0
tms/release-0.4.3
tms/release-0.4.2
tms/release-0.4.1
tms/release-0.3.14
tms/release-0.3.13
tms/release-0.3.12
tms/release-0.3.10
tms/release-0.3.9
tms/release-0.3.8
tms/release-0.3.5
tms/release-0.3.4
tms/release-0.3.3
tms/release-0.2.7
tms/release-0.2.5
tms/release-0.2.3
tms-mcsys/release-2.1.0-1.beam
tms-mcsys/release-2.0.6-1.beam
tms-mcsys/release-1.2.9-1.beam
tms-fpga/release-1.2.5
tms-fpga/release-1.2.4
Files
Commits
Log
Graph
Stats
tms-old
beam
libBeam
BDir.h
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
HTTPS
Blames found: 3
Mode: text/x-c++src
Binary: false
Hang on, we reloading big blames...
6ae0d525
/******************************************************************************* * BDir.h BEAM Dir access class * T.Barnaby, BEAM Ltd, 8/10/96
57456599
* Copyright (c) 2012 All Right Reserved, Beam Ltd, http://www.beam.ltd.uk
6ae0d525
******************************************************************************* */ #ifndef BDIR_H #define BDIR_H 1 #include <BList.h> #include <BString.h> #include <BError.h> #include <sys/stat.h> #ifndef __Lynx__ #else typedef unsigned long long ino64_t; typedef long long off64_t; typedef unsigned long blksize_t; typedef unsigned long long blkcnt64_t; struct stat64 { dev_t st_dev; ino64_t st_ino; mode_t st_mode; nlink_t st_nlink; uid_t st_uid; gid_t st_gid; dev_t st_rdev; off64_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; blksize_t st_blksize; blkcnt64_t st_blocks; mode_t st_attr; }; #endif /// File system directory class. class BDir : public BList<struct dirent*> { public: BDir(); BDir(BString name); ~BDir(); BError open(BString name); ///< Reads named directory BError error(); ///< Current value of error BError read(); ///< read/re-reads directory void clear(); ///< Clears list void setWild(BString wild); ///< Set wildcard filter string used on read void setSort(int on); ///< Set alpha sort on/off BString entryName(BIter i); ///< Get filename struct stat entryStat(BIter i); ///< Get file stats struct stat64 entryStat64(BIter i); ///< Get file stats 64 private: BError oerror; BString odirname; BString owild; int osort; }; #endif