annotate trunk/src/Support/FileList.h @ 319:566a8543a6f1

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