#include "pxr/pxr.h"
#include "pxr/base/vt/api.h"
#include "pxr/base/tf/enum.h"
#include "pxr/base/tf/functionRef.h"
#include <iosfwd>
#include <typeinfo>
#include <type_traits>
Go to the source code of this file.
|
PXR_NAMESPACE_OPEN_SCOPE
VT_API std::ostream & | Vt_StreamOutGeneric (std::type_info const &type, void const *addr, std::ostream &stream) |
|
template<class T > |
auto | Vt_StreamOutImpl (T const &obj, std::ostream &stream, int) -> decltype(stream<< obj) |
|
template<class T > |
std::ostream & | Vt_StreamOutImpl (T const &obj, std::ostream &stream, long) |
|
template<class T > |
std::enable_if<!std::is_enum
< T >::value, std::ostream & >
::type | VtStreamOut (T const &obj, std::ostream &stream) |
|
template<class EnumT > |
std::enable_if< std::is_enum
< EnumT >::value, std::ostream & >
::type | VtStreamOut (EnumT const &e, std::ostream &stream) |
|
VT_API std::ostream & | VtStreamOut (bool const &, std::ostream &) |
|
VT_API std::ostream & | VtStreamOut (char const &, std::ostream &) |
|
VT_API std::ostream & | VtStreamOut (unsigned char const &, std::ostream &) |
|
VT_API std::ostream & | VtStreamOut (signed char const &, std::ostream &) |
|
VT_API std::ostream & | VtStreamOut (float const &, std::ostream &) |
|
VT_API std::ostream & | VtStreamOut (double const &, std::ostream &) |
|
VT_API void | VtStreamOutArray (std::ostream &, const Vt_ShapeData *, TfFunctionRef< void(std::ostream &)>) |
|
template<class T >
auto Vt_StreamOutImpl |
( |
T const & |
obj, |
|
|
std::ostream & |
stream, |
|
|
int |
|
|
) |
| -> decltype(stream << obj)
|
|
inline |
template<class T >
std::ostream& Vt_StreamOutImpl |
( |
T const & |
obj, |
|
|
std::ostream & |
stream, |
|
|
long |
|
|
) |
| |
|
inline |
template<class T >
std::enable_if<!std::is_enum<T>::value, std::ostream &>::type VtStreamOut |
( |
T const & |
obj, |
|
|
std::ostream & |
stream |
|
) |
| |
VtValue and VtArray make unqualified calls to VtStreamOut when writing values to streams. Clients may overload VtStreamOut for their own types if desired.
Definition at line 69 of file streamOut.h.
template<class EnumT >
std::enable_if<std::is_enum<EnumT>::value, std::ostream &>::type VtStreamOut |
( |
EnumT const & |
e, |
|
|
std::ostream & |
stream |
|
) |
| |
VT_API std::ostream& VtStreamOut |
( |
bool const & |
, |
|
|
std::ostream & |
|
|
) |
| |
VT_API std::ostream& VtStreamOut |
( |
char const & |
, |
|
|
std::ostream & |
|
|
) |
| |
VT_API std::ostream& VtStreamOut |
( |
unsigned char const & |
, |
|
|
std::ostream & |
|
|
) |
| |
VT_API std::ostream& VtStreamOut |
( |
signed char const & |
, |
|
|
std::ostream & |
|
|
) |
| |
VT_API std::ostream& VtStreamOut |
( |
float const & |
, |
|
|
std::ostream & |
|
|
) |
| |
VT_API std::ostream& VtStreamOut |
( |
double const & |
, |
|
|
std::ostream & |
|
|
) |
| |