pdal::Metadata

class pdal::Metadata

Public Functions

inline Metadata()
inline Metadata(const std::string &name)
inline MetadataNode getNode() const

Public Static Functions

static std::string PDAL_DLL inferType (const std::string &val)
class pdal::MetadataNode

Public Functions

inline MetadataNode()
inline MetadataNode(const std::string &name)
inline MetadataNode add(const std::string &name)
inline MetadataNode addList(const std::string &name)
inline MetadataNode clone(const std::string &name) const
inline MetadataNode add(MetadataNode node)
inline MetadataNode addList(MetadataNode node)
inline MetadataNode addEncoded(const std::string &name, const unsigned char *buf, size_t size, const std::string &descrip = std::string())
inline MetadataNode addListEncoded(const std::string &name, const unsigned char *buf, size_t size, const std::string &descrip = std::string())
inline MetadataNode addWithType(const std::string &name, const std::string &value, const std::string &type, const std::string &descrip)
inline MetadataNode add(const std::string &name, const double &value, const std::string &descrip = std::string(), size_t precision = 10)
template<typename T>
inline MetadataNode add(const std::string &name, const T &value, const std::string &descrip = std::string())
template<typename T>
inline MetadataNode addList(const std::string &name, const T &value, const std::string &descrip = std::string())
inline MetadataNode addOrUpdate(const std::string &lname, const double &value, const std::string &descrip = std::string(), size_t precision = 10)
template<typename T>
inline MetadataNode addOrUpdate(const std::string &lname, const T &value)
template<typename T>
inline MetadataNode addOrUpdate(const std::string &lname, const T &value, const std::string &descrip)
inline MetadataNode addOrUpdate(MetadataNode n)
inline std::string type() const
inline MetadataType kind() const
inline std::string name() const
template<typename T>
inline T value() const
inline std::string value() const
inline std::string jsonValue() const
inline std::string description() const
inline MetadataNodeList children() const
inline MetadataNodeList children(const std::string &name) const
inline bool hasChildren() const
inline std::vector<std::string> childNames() const
inline operator bool() const
inline bool operator!()
inline bool valid() const
inline bool empty() const
template<typename PREDICATE>
inline MetadataNode find(PREDICATE p) const
template<typename PREDICATE>
inline MetadataNodeList findChildren(PREDICATE p)
template<typename PREDICATE>
inline MetadataNode findChild(PREDICATE p) const
inline MetadataNode findChild(const char *s) const
inline MetadataNode findChild(std::string s) const