parse.h File Reference

#include <vector>
#include <string>
#include <string.h>
#include <stdlib.h>
#include <boost/algorithm/string.hpp>
#include <sstream>
#include <pcl/pcl_macros.h>
Include dependency graph for parse.h:

Go to the source code of this file.

Namespaces

namespace  pcl
namespace  pcl::console

Functions

PCL_EXPORTS bool pcl::console::find_switch (int argc, char **argv, const char *argument_name)
 Finds whether the argument with name "argument_name" is in the argument list "argv".
PCL_EXPORTS int pcl::console::find_argument (int argc, char **argv, const char *argument_name)
 Finds the position of the argument with name "argument_name" in the argument list "argv".
template<typename Type >
int pcl::console::parse (int argc, char **argv, const char *argument_name, Type &value)
 Template version for parsing arguments.
PCL_EXPORTS int pcl::console::parse_argument (int argc, char **argv, const char *str, std::string &val)
 Parse for a specific given command line argument.
PCL_EXPORTS int pcl::console::parse_argument (int argc, char **argv, const char *str, bool &val)
 Parse for a specific given command line argument.
PCL_EXPORTS int pcl::console::parse_argument (int argc, char **argv, const char *str, float &val)
 Parse for a specific given command line argument.
PCL_EXPORTS int pcl::console::parse_argument (int argc, char **argv, const char *str, double &val)
 Parse for a specific given command line argument.
PCL_EXPORTS int pcl::console::parse_argument (int argc, char **argv, const char *str, int &val)
 Parse for a specific given command line argument.
PCL_EXPORTS int pcl::console::parse_argument (int argc, char **argv, const char *str, unsigned int &val)
 Parse for a specific given command line argument.
PCL_EXPORTS int pcl::console::parse_argument (int argc, char **argv, const char *str, char &val)
 Parse for a specific given command line argument.
PCL_EXPORTS int pcl::console::parse_2x_arguments (int argc, char **argv, const char *str, float &f, float &s, bool debug=true)
 Parse for specific given command line arguments (2x values comma separated).
PCL_EXPORTS int pcl::console::parse_2x_arguments (int argc, char **argv, const char *str, double &f, double &s, bool debug=true)
 Parse for specific given command line arguments (2x values comma separated).
PCL_EXPORTS int pcl::console::parse_2x_arguments (int argc, char **argv, const char *str, int &f, int &s, bool debug=true)
 Parse for specific given command line arguments (2x values comma separated).
PCL_EXPORTS int pcl::console::parse_3x_arguments (int argc, char **argv, const char *str, float &f, float &s, float &t, bool debug=true)
 Parse for specific given command line arguments (3x values comma separated).
PCL_EXPORTS int pcl::console::parse_3x_arguments (int argc, char **argv, const char *str, double &f, double &s, double &t, bool debug=true)
 Parse for specific given command line arguments (3x values comma separated).
PCL_EXPORTS int pcl::console::parse_3x_arguments (int argc, char **argv, const char *str, int &f, int &s, int &t, bool debug=true)
 Parse for specific given command line arguments (3x values comma separated).
PCL_EXPORTS int pcl::console::parse_x_arguments (int argc, char **argv, const char *str, std::vector< double > &v)
 Parse for specific given command line arguments (3x values comma separated).
PCL_EXPORTS int pcl::console::parse_x_arguments (int argc, char **argv, const char *str, std::vector< float > &v)
 Parse for specific given command line arguments (N values comma separated).
PCL_EXPORTS int pcl::console::parse_x_arguments (int argc, char **argv, const char *str, std::vector< int > &v)
 Parse for specific given command line arguments (N values comma separated).
PCL_EXPORTS bool pcl::console::parse_multiple_arguments (int argc, char **argv, const char *str, std::vector< int > &values)
 Parse for specific given command line arguments (multiple occurances of the same command line parameter).
PCL_EXPORTS bool pcl::console::parse_multiple_arguments (int argc, char **argv, const char *str, std::vector< float > &values)
 Parse for specific given command line arguments (multiple occurances of the same command line parameter).
PCL_EXPORTS bool pcl::console::parse_multiple_arguments (int argc, char **argv, const char *str, std::vector< double > &values)
 Parse for specific given command line arguments (multiple occurances of the same command line parameter).
PCL_EXPORTS bool pcl::console::parse_multiple_arguments (int argc, char **argv, const char *str, std::vector< std::string > &values)
 Parse for a specific given command line argument (multiple occurences of the same command line parameter).
PCL_EXPORTS bool pcl::console::parse_multiple_2x_arguments (int argc, char **argv, const char *str, std::vector< double > &values_f, std::vector< double > &values_s)
 Parse for specific given command line arguments (multiple occurances of 2x argument groups, separated by commas).
PCL_EXPORTS bool pcl::console::parse_multiple_3x_arguments (int argc, char **argv, const char *str, std::vector< double > &values_f, std::vector< double > &values_s, std::vector< double > &values_t)
 Parse for specific given command line arguments (multiple occurances of 3x argument groups, separated by commas).
PCL_EXPORTS std::vector< int > pcl::console::parse_file_extension_argument (int argc, char **argv, const std::string &ext)
 Parse command line arguments for file names.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2012 for Point Cloud Library (PCL) by  doxygen 1.6.1