mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
Merged pcl_integration branch to trunk
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1014 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -70,8 +70,17 @@ public:
|
||||
*/
|
||||
static std::string getName(const std::string & filePath);
|
||||
|
||||
/**
|
||||
* Get the file extension.
|
||||
* @return the file extension
|
||||
*/
|
||||
static std::string getExtension(const std::string &filePath);
|
||||
|
||||
/**
|
||||
* Copy a file.
|
||||
* @param from the file path
|
||||
* @param to destination file path
|
||||
*/
|
||||
static void copy(const std::string & from, const std::string & to);
|
||||
|
||||
public:
|
||||
@@ -130,6 +139,10 @@ public:
|
||||
*/
|
||||
std::string getExtension() {return getExtension(path_);}
|
||||
|
||||
/**
|
||||
* Copy a file.
|
||||
* @param to destination file path
|
||||
*/
|
||||
void copy(const std::string & to) {copy(path_, to);}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user