Changeset 246 for cpp/common/stl-util.h


Ignore:
Timestamp:
06/01/14 00:52:01 (10 years ago)
Author:
Maciej Komosinski
Message:

Added getFileDir() and source formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/stl-util.h

    r197 r246  
    4242string stripExt(const string& filename); // strip extension from filename
    4343string getFileExt(const string& filename); // get extension (starting with ".") from filename
     44string getFileDir(const string& filename); // get path component excluding filename ("" if no dir in file)
     45
    4446
    4547bool readCompleteFile(const char* filename, vector<char>& data, bool warn_on_missing_file=true);
Note: See TracChangeset for help on using the changeset viewer.