Drake
Drake C++ Documentation
serialize_pybind.h File Reference
#include <climits>
#include <map>
#include <optional>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include <variant>
#include <vector>
#include <fmt/format.h>
#include "drake/bindings/pydrake/common/cpp_template_pybind.h"
#include "drake/bindings/pydrake/pydrake_pybind.h"
#include "drake/common/drake_copyable.h"
#include "drake/common/drake_throw.h"
#include "drake/common/eigen_types.h"
Include dependency graph for serialize_pybind.h:

Namespaces

 drake
 
 drake::pydrake
 For more high-level information, see the Python Bindings technical notes.
 

Functions

template<typename PyClass , typename Docs >
void DefAttributesUsingSerialize (PyClass *ppy_class, const Docs &cls_docs)
 Binds the attributes visited by a C++ class Serialize function as readwrite on properties its ppy_class. More...
 
template<typename PyClass >
void DefAttributesUsingSerialize (PyClass *ppy_class)
 (Advanced) An overload that doesn't bind docstrings. More...
 
template<typename PyClass >
void DefReprUsingSerialize (PyClass *ppy_class)
 Binds repr using a C++ class Serialize function. More...