B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Static Public Member Functions | List of all members
System::Directory Class Reference

Exposes static methods for enumerating through directories. More...

#include <Directory.h>

Public Types

typedef std::vector< std::string > Names
 

Static Public Member Functions

static void findFiles (const std::string &pathName, const std::string fileName, Names *names)
 Returns a collection of strings naming the files in the directory denoted by the given pathname that satisfy the specified filename. More...
 
static bool isDirectory (const std::string &path)
 Checks if the given file path represents the directory. More...
 
static void list (const std::string &pathName, Names *names)
 Returns a collection of strings naming the files in the directory denoted by the given pathname. More...
 

Detailed Description

Exposes static methods for enumerating through directories.

Member Typedef Documentation

typedef std::vector<std::string> System::Directory::Names

Member Function Documentation

static void System::Directory::findFiles ( const std::string &  pathName,
const std::string  fileName,
Names names 
)
static

Returns a collection of strings naming the files in the directory denoted by the given pathname that satisfy the specified filename.

Parameters
fileNameFile name, which can contain wildcard characters (* and ?).
Exceptions
SystemException

Referenced by CmiProductCatalog::loadFromLatestFile().

static bool System::Directory::isDirectory ( const std::string &  path)
static

Checks if the given file path represents the directory.

Returns
true if so, otherwise false.
static void System::Directory::list ( const std::string &  pathName,
Names names 
)
static

Returns a collection of strings naming the files in the directory denoted by the given pathname.

Exceptions
SystemException