annotate src/Support/FileList.h @ 67:217d5df0cd8a

- More AWS stuff
author tomwalters
date Wed, 11 Aug 2010 10:34:57 +0000
parents e914b02b31b0
children
rev   line source
tomwalters@23 1 // Copyright 2010, Thomas Walters
tomwalters@23 2 //
tomwalters@23 3 // AIM-C: A C++ implementation of the Auditory Image Model
tomwalters@23 4 // http://www.acousticscale.org/AIMC
tomwalters@23 5 //
tomwalters@45 6 // Licensed under the Apache License, Version 2.0 (the "License");
tomwalters@45 7 // you may not use this file except in compliance with the License.
tomwalters@45 8 // You may obtain a copy of the License at
tomwalters@23 9 //
tomwalters@45 10 // http://www.apache.org/licenses/LICENSE-2.0
tomwalters@23 11 //
tomwalters@45 12 // Unless required by applicable law or agreed to in writing, software
tomwalters@45 13 // distributed under the License is distributed on an "AS IS" BASIS,
tomwalters@45 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
tomwalters@45 15 // See the License for the specific language governing permissions and
tomwalters@45 16 // limitations under the License.
tomwalters@23 17
tomwalters@23 18 /*!
tomwalters@23 19 * \file
tomwalters@23 20 * \brief Convert a file containing a list of pairs of tab-separated
tomwalters@23 21 * items, one per line, and convert it to a vector<pair<string, string> >
tomwalters@23 22 *
tomwalters@23 23 * \author Thomas Walters <tom@acousticscale.org>
tomwalters@23 24 * \date created 2010/02/23
tomwalters@23 25 * \version \$Id$
tomwalters@23 26 */
tomwalters@23 27
tomwalters@52 28 #if defined(_WINDOWS)
tomwalters@52 29 # include <windows.h>
tomwalters@52 30 # ifndef PATH_MAX
tomwalters@52 31 # define PATH_MAX _MAX_PATH
tomwalters@52 32 # endif
tomwalters@52 33 #endif
tomwalters@52 34 #include <limits.h>
tomwalters@23 35 #include <string>
tomwalters@23 36 #include <utility>
tomwalters@23 37 #include <vector>
tomwalters@23 38
tomwalters@23 39 #include "Support/Common.h"
tomwalters@23 40
tomwalters@23 41 namespace aimc {
tomwalters@23 42 using std::vector;
tomwalters@23 43 using std::pair;
tomwalters@23 44 using std::string;
tomwalters@23 45 class FileList {
tomwalters@23 46 public:
tomwalters@23 47 static vector<pair<string, string> > Load(string filename);
tomwalters@23 48 };
tomwalters@23 49 } // namespace aimc