printRaw overloads

Synopses

Declared in <bslim_printer.h>

Print the specified fundamental data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    bool data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_fundamental>);

Print the specified fundamental data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    char data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_fundamental>);

Print the specified fundamental data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    unsigned char data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_fundamental>);

Print the specified string‐ref data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    bslstl::StringRef const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<>);

Print the specified string data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    bsl::string const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<HasStlIterators>);

Print the specified string‐view data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    std::string_view const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<>);

Print the specified C‐string data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    char const* data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_pointer>);

Print the specified void‐pointer data to stream with indentation.

static
void
printRaw(
    std::ostream& stream,
    void const* data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_pointer>);

Print the specified enumeration data to stream with indentation.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_enum>);

Print the specified fundamental data to stream with indentation.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_fundamental>);

The print method of this class dispatches based on TYPE and traits to a printRaw method to do the actual printing of the specified data to the specified stream with indentation based on the specified level and spacesPerLevel.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<>);

Print the elements of the specified STL container data to stream.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<HasStlIterators>);

Print the specified function‐pointer data to stream.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<IsFunctionPointer>);

Print the value held by the specified optional data, if engaged.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    bsl::optional<TYPE> const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<>);

Print the object held by the specified shared pointer data.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    bsl::shared_ptr<TYPE> const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<>);

Print the elements of the specified tuple data to stream.

template<class... t_TYPES>
static
void
printRaw(
    std::ostream& stream,
    bsl::tuple<t_TYPES...> const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<>);

Print the address of the specified array data to stream.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE const* data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_array>);

Print the address of the specified pointer data to stream.

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE const* data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_pointer>);

Print the first and second members of the specified data pair.

template<
    class T1,
    class T2>
static
void
printRaw(
    std::ostream& stream,
    bsl::pair<T1, T2> const& data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<>);

Created with MrDocs