saga-file.hpp File Reference

#include <iostream>

Go to the source code of this file.

Defines

#define SAGA_GUARDED_EXEC(BLOCK)

Functions

void run_test (std::string fileURL)
void file_cat (std::string fileURL)
void file_remove (std::string fileURL)
void file_copy (std::string sourceURL, std::string targetURL)
void file_move (std::string sourceURL, std::string targetURL)
void list_dir (std::string directoryURL)


Define Documentation

#define SAGA_GUARDED_EXEC ( BLOCK   ) 

Value:

try{                                 \
  BLOCK                                \
 }                                   \
 catch (saga::exception const& e) {                  \
    std::cerr << e.what () << std::endl;                \
  }                                   \
  catch (std::exception const& e) {                   \
    std::cerr <<   e.what() << std::endl;                \
  }                                   \
  catch (...) {                             \
  std::cerr << std::endl;                       \
  }                                   \
                                    \


Function Documentation

void run_test ( std::string  fileURL  ) 

void file_cat ( std::string  fileURL  ) 

void file_remove ( std::string  fileURL  ) 

References saga::filesystem::ReadWrite, and SAGA_GUARDED_EXEC.

Referenced by main().

void file_copy ( std::string  sourceURL,
std::string  targetURL 
)

References saga::filesystem::Read, and SAGA_GUARDED_EXEC.

Referenced by main().

void file_move ( std::string  sourceURL,
std::string  targetURL 
)

References saga::filesystem::ReadWrite, and SAGA_GUARDED_EXEC.

Referenced by main().

void list_dir ( std::string  directoryURL  ) 

References SAGA_GUARDED_EXEC.

Referenced by main().


Generated on Mon Aug 25 13:15:45 2008 for SAGA C++ API by  doxygen 1.5.6