Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
ConfigReader.hpp
00001 /* $Id$ */
00002 
00003 #ifndef _JAFAR_CONFIG_READER_HPP_
00004 #define _JAFAR_CONFIG_READER_HPP_
00005 
00006 #include <string>
00007 #include <map>
00008 
00009 #include "kernel/keyValueFile.hpp"
00010 
00011 namespace jafar {
00012   namespace datareader {
00013 
00021     class ConfigReader {
00022       private:
00024       int m_first;
00026       int m_last;
00028       int m_step;
00030       int m_digits;
00032       std::string m_imgSuffix;
00034       std::string m_posSuffix;
00036       std::string m_imgPrefix;
00038       std::string m_posPrefix;
00039       std::string m_patternImages;
00040       std::string m_patternPoses;
00041       std::string m_patternTimes;
00043       std::string configFile;
00045       kernel::KeyValueFile handler;      
00046       public :
00049       ConfigReader(const std::string& _configFile);
00054       void check(int& begin, int& end, int& offset);
00056       int first() const;
00058       int last() const;
00060       int step() const;
00062       int digits() const;
00064       std::string imagesSuffix() const;
00066       std::string posesSuffix() const;
00068       std::string imagesPrefix() const;
00070       std::string posesPrefix() const;
00072       std::string posesPattern() const;
00074       std::string imagesPattern() const;
00076       std::string timesPattern() const;
00077     };//end ConfigReader
00078 
00079   }//namespace datareader
00080 
00081 }//namespace jafar
00082 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:17 for Jafar by doxygen 1.7.6.1
LAAS-CNRS