Choreonoid  1.5
ParametricPathProcessor.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_BASE_PARAMETRIC_PATH_PROCESSOR_H
7 #define CNOID_BASE_PARAMETRIC_PATH_PROCESSOR_H
8 
9 #include <string>
10 #include <boost/optional.hpp>
11 #include "exportdecl.h"
12 
13 namespace cnoid {
14 
15 class Mapping;
16 class ParametricPathProcessorImpl;
17 
19 {
20 public:
21  static ParametricPathProcessor* instance();
22 
25 
26  void setVariables(Mapping* variables);
27  void setBaseDirectory(const std::string& directory);
28  std::string parameterize(const std::string& path) const;
29  boost::optional<std::string> expand(const std::string& path) const;
30  const std::string& errorMessage() const;
31 
32 private:
33  ParametricPathProcessorImpl* impl;
34 };
35 
36 }
37 
38 #endif
Definition: ValueTree.h:224
Definition: ParametricPathProcessor.h:18
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37