pdal::Options

pdal::Options#

class Options#

Public Functions

inline Options()#
inline explicit Options(const Option &opt)#
void add(const Option &option)#
void add(const Options &options)#
void addConditional(const Option &option)#
void addConditional(const Options &option)#
void remove(const Option &option)#
inline void replace(const Option &option)#
inline void toMetadata(MetadataNode &parent) const#
template<typename T>
inline void add(const std::string &name, T value)#
inline void add(const std::string &name, const std::string &value)#
inline void add(const std::string &name, const bool &value)#
template<typename T>
inline void replace(const std::string &name, T value)#
inline void replace(const std::string &name, const std::string &value)#
inline void replace(const std::string &name, const bool &value)#
inline StringList getValues(const std::string &name) const#
inline StringList getKeys() const#
std::vector<Option> getOptions(std::string const &name = "") const#
StringList toCommandLine() const#

Convert options to a string list appropriate for parsing with ProgramArgs.

Returns:

List of options as argument strings.

Public Static Functions

static Options fromFile(const std::string &filename, bool throwOnOpenError = true)#