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> traits);

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> traits);

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> traits);

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<> traits);

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> traits);

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<> traits);

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> traits);

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> traits);

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> traits);

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> traits);

Print data by calling its standard print method.

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

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> traits);

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> traits);

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<> traits);

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<> traits);

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<> traits);

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> traits);

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> traits);

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<> traits);

Parameters

Name

Description

stream

output stream to which data is printed

data

value to print

level

indentation level as defined by the BDE print contract

spacesPerLevel

spaces per indentation level; negative for single‐line output

traits

unused trait tag for overload resolution

Created with MrDocs