BloombergLP::bslim::Printer_Helper::printRaw

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

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);
» more...

Parameters

NameDescription
streamoutput stream to which data is printed
datavalue to print
levelindentation level as defined by the BDE print contract
spacesPerLevelspaces per indentation level; negative for single-line output
traitsunused trait tag for overload resolution