ObjectDatabaseRecognizer.h
Go to the documentation of this file.
1 
21 #ifndef OBJECT_DATABASE_CATEGORY_H_
22 #define OBJECT_DATABASE_CATEGORY_H_
23 
24 
25 #include <boost/filesystem.hpp>
26 #include <string>
27 #include "typedef.h"
28 #include "ObjectDatabaseEntry.h"
30 
31 namespace object_database
32 {
33 using namespace asr_object_database;
34 
35 namespace fs = boost::filesystem;
39 struct FileType
40 {
41  enum Value
42  {
44  DIRECTORY
45  };
46 };
47 
52 {
57 
61  bool mRead;
62 
67 public:
72 
77  {}
78 
82  const std::string getKeyword();
83 
87  void setKeyword(const std::string kw);
88 
92  const fs::path getPath();
93 
97  void setPath(const fs::path pt);
98 
102  const std::string getRegexp();
103 
107  void setRegexp(const std::string regexp);
108 
112  bool isRead();
113 
114 private:
118  void setRead(bool rd);
119 
120 public:
124  void readEntries();
125 
129  ObjectDatabaseEntryPtrMap getEntries();
130 
135  const ObjectDatabaseEntryPtr& getEntry(const std::string objectName);
136 };
137 }
138 
139 #endif // OBJECT_DATABASE_CATEGORY_H_
std::map< std::string, ObjectDatabaseEntryPtr > ObjectDatabaseEntryPtrMap
Definition: typedef.h:40
ROSLIB_DECL std::string getPath(const std::string &package_name)
::xsd::cxx::tree::string< char, simple_type > string


asr_object_database
Author(s): Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Braun Kai, Heizmann Heinrich, Heller Florian, Kasper Alexander, Marek Felix, Mehlhaus Jonas, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Walter Milena
autogenerated on Wed Jan 8 2020 03:12:13