Quick Links:

bal | bbl | bdl | bsl

Functions

bdlb::PrintMethods Namespace Reference
[Component bdlb_printmethods]

Functions

template<class TYPE >
bsl::ostream & print (bsl::ostream &stream, const TYPE &object, int level=0, int spacesPerLevel=4)
bsl::ostream & print (bsl::ostream &stream, char object, int level=0, int spacesPerLevel=4)
bsl::ostream & print (bsl::ostream &stream, unsigned char object, int level=0, int spacesPerLevel=4)
template<class CHAR_T , class CHAR_TRAITS_T , class ALLOC >
bsl::ostream & print (bsl::ostream &stream, const bsl::basic_string< CHAR_T, CHAR_TRAITS_T, ALLOC > &object, int level=0, int spacesPerLevel=4)
template<class ALLOC >
bsl::ostream & print (bsl::ostream &stream, const bsl::vector< char, ALLOC > &object, int level=0, int spacesPerLevel=4)
template<class TYPE >
bsl::ostream & print (bsl::ostream &stream, const std::optional< TYPE > &object, int level=0, int spacesPerLevel=4)
template<class... TYPE>
bsl::ostream & print (bsl::ostream &stream, const std::variant< TYPE...> &object, int level=0, int spacesPerLevel=4)
bsl::ostream & print (bsl::ostream &stream, const std::monostate &object, int level=0, int spacesPerLevel=4)

Function Documentation

template<class TYPE >
bsl::ostream& bdlb::PrintMethods::print ( bsl::ostream &  stream,
const TYPE &  object,
int  level = 0,
int  spacesPerLevel = 4 
)