Namespaces | Functions
file_io.h File Reference
#include <iostream>
#include <dirent.h>
#include <vector>
#include <algorithm>
#include <pcl/common/impl/file_io.hpp>
Include dependency graph for common/include/pcl/common/file_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  pcl

Functions

void pcl::getAllPcdFilesInDirectory (const std::string &directory, std::vector< std::string > &file_names)
 Find all *.pcd files in the directory and return them sorted.
std::string pcl::getFileExtension (const std::string &input)
 Get the file extension from the given string (the remaining string after the last '.')
std::string pcl::getFilenameWithoutExtension (const std::string &input)
 Remove the extension from the given string and return only the filename (everything before the last '.')
std::string pcl::getFilenameWithoutPath (const std::string &input)
 Remove the path from the given string and return only the filename (the remaining string after the last '/')

Detailed Description

Define some helper functions for reading and writing files

Todo:
move this to pcl::console

Definition in file common/include/pcl/common/file_io.h.



pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:12