ProteoWizard
Namespaces | Macros | Enumerations | Functions
Filesystem.hpp File Reference
#include "Export.hpp"
#include "String.hpp"
#include "Container.hpp"
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/version.hpp>
#include "pwiz/utility/misc/random_access_compressed_ifstream.hpp"

Go to the source code of this file.

Namespaces

 pwiz
 
 pwiz::util
 

Macros

#define BOOST_FILESYSTEM_VERSION   2
 
#define BFS_STRING(p)   p
 
#define BFS_GENERIC_STRING(p)   p
 
#define BFS_COMPLETE   bfs::complete
 

Enumerations

enum  pwiz::util::ByteSizeAbbreviation { pwiz::util::ByteSizeAbbreviation_IEC, pwiz::util::ByteSizeAbbreviation_JEDEC, pwiz::util::ByteSizeAbbreviation_SI }
 

Functions

PWIZ_API_DECL int pwiz::util::expand_pathmask (const bfs::path &pathmask, vector< bfs::path > &matchingPaths)
 expands (aka globs) a pathmask to zero or more matching paths and returns the number of matching paths More...
 
PWIZ_API_DECL std::string pwiz::util::abbreviate_byte_size (boost::uintmax_t byteSize, ByteSizeAbbreviation abbreviationType=ByteSizeAbbreviation_SI)
 abbreviates a byte size (file or RAM) as a readable string, using the specified notation More...
 
PWIZ_API_DECL std::string pwiz::util::read_file_header (const std::string &filepath, size_t length=512)
 

Macro Definition Documentation

#define BOOST_FILESYSTEM_VERSION   2

Definition at line 43 of file Filesystem.hpp.

#define BFS_STRING (   p)    p
#define BFS_GENERIC_STRING (   p)    p

Definition at line 54 of file Filesystem.hpp.

#define BFS_COMPLETE   bfs::complete

Definition at line 56 of file Filesystem.hpp.