it != fileNames.end();
++it)
{
+ if ( !boost::filesystem::is_regular(*it) ) // check twice !
if ( boost::filesystem::is_directory(*it) )
{
if (verbose)
it != fileNames.end();
++it)
{
- if ( ! boost::filesystem::is_directory(*it) )
+ if ( boost::filesystem::is_regular(*it) )
+ //if ( ! boost::filesystem::is_directory(*it) )
{
if (verbose)
std::cout << "--- [" << *it << "] is a file" << std::endl;
it != fileNames.end();
++it)
{
+ if ( !boost::filesystem::is_regular(*it) ) // check twice !
if ( boost::filesystem::is_directory(*it) )
{
// will be always "pdata" ...
it != fileNames.end();
++it)
{
- if ( ! boost::filesystem::is_directory(*it) )
+ if ( !boost::filesystem::is_regular(*it) )
+ //if ( ! boost::filesystem::is_directory(*it) )
{
std::cout << "--- --- [" << *it << "] is a file" << std::endl;
}
it != fileNames.end();
++it)
{
+ if ( !boost::filesystem::is_regular(*it) ) // check twice !
if ( boost::filesystem::is_directory(*it) )
{
it != fileNames.end();
++it)
{
- if ( ! boost::filesystem::is_directory(*it) )
+ if ( boost::filesystem::is_regular(*it) )
+ //if ( ! boost::filesystem::is_directory(*it) )
{
if (verbose)
std::cout << "--- [" << *it << "] is a file" << std::endl;
if (verbose)
std::cout << "Check for output directory :[" << OutputDirName << "]."
- <<std::endl;
+ <<std::endl;
if ( ! boost::filesystem::is_directory(OutputDirName) ) // dirout not found
{
std::string strDirNameout(OutputDirName); // to please gcc 4