hio_helper.cpp
Go to the documentation of this file.
1 /** @file hio_helper.cpp Helpers for the hiosys plugin */
2 
3 #include "hio_helper.h"
4 #include "corefaudes.h"
5 
6 // Get a list of the files and folders in a given path
7 std::vector<std::string> ListFolderContent(const char* pPath) {
8 
9  std::set< std::string > dirset = faudes::ReadDirectory(std::string(pPath));
10 
11  std::vector<std::string> mList;
12  std::set< std::string >:: iterator sit;
13  for(sit=dirset.begin();sit!=dirset.end();++sit) mList.push_back(*sit);
14  return mList;
15 }

libFAUDES 2.26g --- 2015.08.17 --- c++ api documentaion by doxygen