|
| std::string | get_value_from_map (const std::string &mapstr) |
| |
| bool | parse_bool (const std::string &in) |
| |
| std::unordered_map< std::string, std::string > | parse_dict (std::string in, const std::vector< std::string > &keys) |
| |
| std::string | parse_str (const std::string &in) |
| |
| std::vector< std::string > | parse_tuple (std::string in) |
| |
| std::string | trim (const std::string &str) |
| |
| std::string | write_boolean (bool b) |
| |
| template<typename T> |
| std::string | write_tuple (const std::vector< T > &v) |
| |
◆ get_value_from_map()
| std::string npy::pyparse::get_value_from_map |
( |
const std::string & | mapstr | ) |
|
|
inline |
◆ parse_bool()
| bool npy::pyparse::parse_bool |
( |
const std::string & | in | ) |
|
|
inline |
Parses the string representation of a Python boolean
◆ parse_dict()
| std::unordered_map< std::string, std::string > npy::pyparse::parse_dict |
( |
std::string | in, |
|
|
const std::vector< std::string > & | keys ) |
|
inline |
Parses the string representation of a Python dict
The keys need to be known and may not appear anywhere else in the data.
◆ parse_str()
| std::string npy::pyparse::parse_str |
( |
const std::string & | in | ) |
|
|
inline |
Parses the string representation of a Python str
◆ parse_tuple()
| std::vector< std::string > npy::pyparse::parse_tuple |
( |
std::string | in | ) |
|
|
inline |
Parses the string represenatation of a Python tuple into a vector of its items
◆ trim()
| std::string npy::pyparse::trim |
( |
const std::string & | str | ) |
|
|
inline |
Removes leading and trailing whitespaces
◆ write_boolean()
| std::string npy::pyparse::write_boolean |
( |
bool | b | ) |
|
|
inline |
◆ write_tuple()
template<typename T>
| std::string npy::pyparse::write_tuple |
( |
const std::vector< T > & | v | ) |
|
|
inline |
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2026