hdf5reader.cpp File Reference

#include "hdf5reader.h"
#include <hdf5_hl.h>
#include "exception.h"
Include dependency graph for hdf5reader.cpp:

Go to the source code of this file.

Functions

std::string getFileNameFromPath (std::string path)

Function Documentation

std::string getFileNameFromPath ( std::string  path  ) 

Definition at line 7 of file hdf5reader.cpp.

00008 {
00009   unsigned i=path.size()-1;
00010   while (i>=0 && path[i]!='/')
00011     i--;
00012   return path.substr(i,path.size());
00013 
00014 }

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:12:30 2012 for CO2INJECTION by  doxygen 1.6.3