Classes | |
| class | array_deleter |
Used as a std::shared_ptr deleter (second argument) to overload delete ptr with delete[] ptr. More... | |
Functions | |
| EXPORT_SYMBOL const std::string | dtype_to_name (dtype dt) |
| Returns the name associated with a given dtype. | |
| EXPORT_SYMBOL const std::string | dtype_to_format (dtype dt, const std::string &format="") |
| Convert a dtype enum into a NumPy format string. | |
| std::string | quote (const std::string &x) |
| Puts quotation marks around a string and escapes the appropriate characters. | |
| EXPORT_SYMBOL const std::string dtype_to_format | ( | dtype | dt, |
| const std::string & | format = "" ) |
Convert a dtype enum into a NumPy format string.
| EXPORT_SYMBOL const std::string dtype_to_name | ( | dtype | dt | ) |
Returns the name associated with a given dtype.
| std::string quote | ( | const std::string & | x | ) |
Puts quotation marks around a string and escapes the appropriate characters.
| x | The string to quote. |
| doublequote | If true, apply double-quotes ("</tt>); if <tt>false</tt>,
apply single-quotes (‘’`).
@note The implementation does not yet escape characters: it only adds
strings. See issue
<a href="https://github.com/scikit-hep/awkward/issues/186" >scikit-hep/awkward#186. |