ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
pybind11::detail::path_caster< T > Struct Template Reference

#include <pybind_filesystem.h>

Inheritance diagram for pybind11::detail::path_caster< T >:

Public Member Functions

bool load (handle handle, bool)
 
 PYBIND11_TYPE_CASTER (T, io_name("Union[os.PathLike, str, bytes]", "pathlib.Path"))
 

Static Public Member Functions

static handle cast (const T &path, return_value_policy, handle)
 

Detailed Description

template<typename T>
struct pybind11::detail::path_caster< T >

Definition at line 39 of file pybind_filesystem.h.

Member Function Documentation

◆ cast()

template<typename T >
static handle pybind11::detail::path_caster< T >::cast ( const T &  path,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 56 of file pybind_filesystem.h.

References cloudViewer::t::geometry::path.

◆ load()

template<typename T >
bool pybind11::detail::path_caster< T >::load ( handle  handle,
bool   
)
inline

Definition at line 65 of file pybind_filesystem.h.

◆ PYBIND11_TYPE_CASTER()

template<typename T >
pybind11::detail::path_caster< T >::PYBIND11_TYPE_CASTER ( ,
io_name("Union[os.PathLike, str, bytes]", "pathlib.Path")   
)

The documentation for this struct was generated from the following file: