File management facilities


Namespaces

namespace  eepgwde
 The namespace used to package this module.

Classes

struct  eepgwde::detail::Facilities
 Implementation class to provide an extension. More...

Functions

int eepgwde::detail::Facilities::files (std::insert_iterator< std::set< fs::path > > set_, fs::path dir_, boost::regex re) const
 Returns a set of files existing in the directory matching the regular expression.
int eepgwde::detail::Facilities::files (std::insert_iterator< std::set< fs::path > > set_) const
 Returns a set of all files existing in the current directory.
std::vector< std::string > eepgwde::detail::Facilities::readlines (std::istream &is) const throw (std::exception)
 Get a vector of lines from an open stream.
std::vector< std::string > eepgwde::detail::Facilities::readlines (const fs::path &s) const throw (std::exception)
 Get a vector of lines from an open stream.
 eepgwde::detail::Facilities::Facilities () throw (std::exception)
 Creates a Facilities::Impl.
virtual eepgwde::detail::Facilities::~Facilities () throw (std::exception)

Variables

const boost::shared_ptr
< eepgwde::detail::Facilities::Impl
eepgwde::detail::Facilities::impl

Friends

class eepgwde::detail::Facilities::Impl
 a pointer to an implementation

Detailed Description

These classes provide runtime control through an inherited implementation.

This module provides some implementation classes for a Singleton. The class Facilities provides methods for obtaining a set of files.


Function Documentation

eepgwde::detail::Facilities::Facilities (  )  throw (std::exception) [protected, inherited]

Creates a Facilities::Impl.

Definition at line 32 of file runtime1.cpp.

References eepgwde::detail::Facilities::impl.

int eepgwde::detail::Facilities::files ( std::insert_iterator< std::set< fs::path > >  set_  )  const [inherited]

Returns a set of all files existing in the current directory.

Files and links in the directory matching regular expression.

Returns:
count of files matching the pattern or -1 if a failure.
Note:
This is prototyped as fs1().

Definition at line 83 of file runtime1.cpp.

References eepgwde::detail::Facilities::files().

int eepgwde::detail::Facilities::files ( std::insert_iterator< std::set< fs::path > >  set_,
fs::path  full_path,
boost::regex  re 
) const [inherited]

Returns a set of files existing in the directory matching the regular expression.

Files and links in the directory matching regular expression.

You must create your own set and the insert_iterator for it and pass that to the finder.

Returns:
count of files matching the pattern or -1 if a failure.

Definition at line 42 of file runtime1.cpp.

Referenced by eepgwde::detail::Facilities::files().

std::vector< std::string > eepgwde::detail::Facilities::readlines ( const fs::path &  s  )  const throw (std::exception) [inherited]

Get a vector of lines from an open stream.

Definition at line 88 of file runtime1.cpp.

References eepgwde::detail::is(), and eepgwde::detail::Facilities::readlines().

std::vector< std::string > eepgwde::detail::Facilities::readlines ( std::istream &  is  )  const throw (std::exception) [inherited]

Get a vector of lines from an open stream.

Definition at line 96 of file runtime1.cpp.

References eepgwde::detail::is(), and eepgwde::detail::results.

Referenced by eepgwde::detail::Facilities::readlines().

eepgwde::detail::Facilities::~Facilities (  )  throw (std::exception) [protected, virtual, inherited]

Definition at line 37 of file runtime1.cpp.


Variable Documentation

const boost::shared_ptr<eepgwde::detail::Facilities::Impl> eepgwde::detail::Facilities::impl [protected, inherited]

Definition at line 59 of file runtime1.hpp.

Referenced by eepgwde::detail::Facilities::Facilities().


Friends

friend class Impl [friend, inherited]

a pointer to an implementation

Definition at line 37 of file runtime1.hpp.


Generated on Thu Feb 18 21:30:12 2010 for eleve by  doxygen 1.5.6