#include <jlpioutils.h>
Public Member Functions | |
| JLPIOUtils () | |
| ~JLPIOUtils () | |
Static Public Member Functions | |
| static void | readDirectory (const string directoryLocation, vector< string > *result, string extension="", long start=-1, long end=-1) |
| static string | vectorToString (vector< float > *a, string separator="\t") |
| static string | vectorToString (vector< double > *a, string separator="\t") |
|
|
class constructor. |
|
|
class desctructor. |
|
||||||||||||||||||||||||
|
list files in a directory. usage: vector<string> fileVector; readDirectory ( "/home/anydir", fileVector); start and end allow to limit the number of file returned: limiting from start to end (included) starting count from 0 the defauld (-1) indicates no limits. |
|
||||||||||||
|
concatenates the entries of a vector of double into a string, separated by a given separator. |
|
||||||||||||
|
concatenates the entries of a vector of float into a string, separated by a given separator. |
1.4.6