tomwalters@296: // Copyright 2010, Thomas Walters tomwalters@296: // tomwalters@296: // AIM-C: A C++ implementation of the Auditory Image Model tomwalters@296: // http://www.acousticscale.org/AIMC tomwalters@296: // tomwalters@318: // Licensed under the Apache License, Version 2.0 (the "License"); tomwalters@318: // you may not use this file except in compliance with the License. tomwalters@318: // You may obtain a copy of the License at tomwalters@296: // tomwalters@318: // http://www.apache.org/licenses/LICENSE-2.0 tomwalters@296: // tomwalters@318: // Unless required by applicable law or agreed to in writing, software tomwalters@318: // distributed under the License is distributed on an "AS IS" BASIS, tomwalters@318: // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. tomwalters@318: // See the License for the specific language governing permissions and tomwalters@318: // limitations under the License. tomwalters@296: tomwalters@296: /*! tomwalters@296: * \file tomwalters@296: * \brief Convert a file containing a list of pairs of tab-separated tomwalters@296: * items, one per line, and convert it to a vector > tomwalters@296: * tomwalters@296: * \author Thomas Walters tomwalters@296: * \date created 2010/02/23 tomwalters@296: * \version \$Id$ tomwalters@296: */ tomwalters@296: tomwalters@330: #if defined(_WINDOWS) tomwalters@330: # include tomwalters@330: # ifndef PATH_MAX tomwalters@330: # define PATH_MAX _MAX_PATH tomwalters@330: # endif tomwalters@330: #endif tomwalters@330: #include tomwalters@296: #include tomwalters@296: #include tomwalters@296: #include tomwalters@296: tomwalters@296: #include "Support/Common.h" tomwalters@296: tomwalters@296: namespace aimc { tomwalters@296: using std::vector; tomwalters@296: using std::pair; tomwalters@296: using std::string; tomwalters@296: class FileList { tomwalters@296: public: tomwalters@296: static vector > Load(string filename); tomwalters@296: }; tomwalters@296: } // namespace aimc