[#BloombergLP-bdlb-HasPrintMethod-03cc8] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::HasPrintMethod :relfileprefix: ../../ :mrdocs: Trait metafunction indicating that `TYPE` provides a BDE‐style `print` method. == Synopsis Declared in `<bdlb_printmethods.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> struct HasPrintMethod : bslmf::DetectNestedTrait<TYPE, HasPrintMethod>::type ---- == Description A class, `TYPE`, should specialize this trait to derive from `true_type` if it has a `print` method with the following signature: ` bsl::ostream& print(bsl::ostream& stream, int level = 0, int spacesPerLevel = 4) const; ` == Base Classes [cols="1,4"] |=== | Name| Description | `bslmf::DetectNestedTrait<TYPE, HasPrintMethod>::type` | |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/HasPrintMethod-0754.adoc[`HasPrintMethod<balber::BerDecoderOptions>`] | Specialize `HasPrintMethod` for `BerDecoderOptions`. | xref:BloombergLP/bdlb/HasPrintMethod-085f.adoc[`HasPrintMethod<balber::BerEncoderOptions>`] | Specialize `HasPrintMethod` for `BerEncoderOptions`. | xref:BloombergLP/bdlb/HasPrintMethod-014.adoc[`HasPrintMethod<balb::Choice1>`] | Specialize `HasPrintMethod` to indicate that `Choice1` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-084.adoc[`HasPrintMethod<balb::Choice2>`] | Specialize `HasPrintMethod` to indicate that `Choice2` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-073.adoc[`HasPrintMethod<balb::Choice3>`] | Specialize `HasPrintMethod` to indicate that `Choice3` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0cb7.adoc[`HasPrintMethod<balb::Choice4>`] | Specialize `HasPrintMethod` to indicate that `Choice4` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0d22.adoc[`HasPrintMethod<balb::Choice5>`] | Specialize `HasPrintMethod` to indicate that `Choice5` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-099.adoc[`HasPrintMethod<balb::CustomInt>`] | Specialize `HasPrintMethod` to indicate that `CustomInt` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0a1.adoc[`HasPrintMethod<balb::CustomString>`] | Specialize `HasPrintMethod` to indicate that `CustomString` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-06ad.adoc[`HasPrintMethod<baljsn::DecoderOptions>`] | Specialize `HasPrintMethod` for `DecoderOptions`. | xref:BloombergLP/bdlb/HasPrintMethod-040.adoc[`HasPrintMethod<balxml::DecoderOptions>`] | Specialize `HasPrintMethod` for `DecoderOptions`. | xref:BloombergLP/bdlb/HasPrintMethod-0a0.adoc[`HasPrintMethod<baljsn::EncoderOptions>`] | Specialize `HasPrintMethod` for `EncoderOptions`. | xref:BloombergLP/bdlb/HasPrintMethod-052.adoc[`HasPrintMethod<balxml::EncoderOptions>`] | Specialize `HasPrintMethod` for `EncoderOptions`. | xref:BloombergLP/bdlb/HasPrintMethod-0d1a5.adoc[`HasPrintMethod<baljsn::EncoderTestAddress>`] | Specialize `HasPrintMethod` for `EncoderTestAddress`. | xref:BloombergLP/bdlb/HasPrintMethod-031.adoc[`HasPrintMethod<baljsn::EncoderTestChoiceWithAllCategories>`] | Specialize `HasPrintMethod` for `EncoderTestChoiceWithAllCategories`. | xref:BloombergLP/bdlb/HasPrintMethod-02f.adoc[`HasPrintMethod<baljsn::EncoderTestChoiceWithAllCategoriesChoice>`] | Specialize `HasPrintMethod` for `EncoderTestChoiceWithAllCategoriesChoice`. | xref:BloombergLP/bdlb/HasPrintMethod-016.adoc[`HasPrintMethod<baljsn::EncoderTestChoiceWithAllCategoriesCustomizedType>`] | Specialize `HasPrintMethod` for `EncoderTestChoiceWithAllCategoriesCustomizedType`. | xref:BloombergLP/bdlb/HasPrintMethod-0afc.adoc[`HasPrintMethod<baljsn::EncoderTestChoiceWithAllCategoriesSequence>`] | Specialize `HasPrintMethod` for `EncoderTestChoiceWithAllCategoriesSequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0d0.adoc[`HasPrintMethod<baljsn::EncoderTestDegenerateChoice1>`] | Specialize `HasPrintMethod` for `EncoderTestDegenerateChoice1`. | xref:BloombergLP/bdlb/HasPrintMethod-06d.adoc[`HasPrintMethod<baljsn::EncoderTestDegenerateChoice1Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestDegenerateChoice1Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0cb0.adoc[`HasPrintMethod<baljsn::EncoderTestEmployee>`] | Specialize `HasPrintMethod` for `EncoderTestEmployee`. | xref:BloombergLP/bdlb/HasPrintMethod-05f.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithAllCategories>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithAllCategories`. | xref:BloombergLP/bdlb/HasPrintMethod-028.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithAllCategoriesChoice>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithAllCategoriesChoice`. | xref:BloombergLP/bdlb/HasPrintMethod-08e.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithAllCategoriesCustomizedType>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithAllCategoriesCustomizedType`. | xref:BloombergLP/bdlb/HasPrintMethod-091.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithAllCategoriesSequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithAllCategoriesSequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0ea.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged0>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged0`. | xref:BloombergLP/bdlb/HasPrintMethod-019a.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged1>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged1`. | xref:BloombergLP/bdlb/HasPrintMethod-0c8.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged10>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged10`. | xref:BloombergLP/bdlb/HasPrintMethod-025.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged10Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged10Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-04d.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged11>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged11`. | xref:BloombergLP/bdlb/HasPrintMethod-005.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged11Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged11Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-009.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged11Sequence1>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged11Sequence1`. | xref:BloombergLP/bdlb/HasPrintMethod-00b.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged12>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged12`. | xref:BloombergLP/bdlb/HasPrintMethod-0c3.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged12Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged12Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0e5a.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged13>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged13`. | xref:BloombergLP/bdlb/HasPrintMethod-01d.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged13Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged13Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-056.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged14>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged14`. | xref:BloombergLP/bdlb/HasPrintMethod-06a6.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged1Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged1Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0192.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged2>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged2`. | xref:BloombergLP/bdlb/HasPrintMethod-067.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged3>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged3`. | xref:BloombergLP/bdlb/HasPrintMethod-076.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged3Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged3Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-007.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged3Sequence1>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged3Sequence1`. | xref:BloombergLP/bdlb/HasPrintMethod-0f2.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged4>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged4`. | xref:BloombergLP/bdlb/HasPrintMethod-0d1a0.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged4Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged4Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0855.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged5>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged5`. | xref:BloombergLP/bdlb/HasPrintMethod-0afd.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged5Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged5Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0e7.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged6>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged6`. | xref:BloombergLP/bdlb/HasPrintMethod-02d.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged7>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged7`. | xref:BloombergLP/bdlb/HasPrintMethod-0fd.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged7Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged7Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-0e21.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged7Sequence1>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged7Sequence1`. | xref:BloombergLP/bdlb/HasPrintMethod-0e25.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged7Sequence2>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged7Sequence2`. | xref:BloombergLP/bdlb/HasPrintMethod-02c.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged8>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged8`. | xref:BloombergLP/bdlb/HasPrintMethod-03cca.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged8Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged8Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-093.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged8Sequence1>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged8Sequence1`. | xref:BloombergLP/bdlb/HasPrintMethod-05e.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged9>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged9`. | xref:BloombergLP/bdlb/HasPrintMethod-062.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged9Sequence>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged9Sequence`. | xref:BloombergLP/bdlb/HasPrintMethod-07f.adoc[`HasPrintMethod<baljsn::EncoderTestSequenceWithUntagged9Sequence1>`] | Specialize `HasPrintMethod` for `EncoderTestSequenceWithUntagged9Sequence1`. | xref:BloombergLP/bdlb/HasPrintMethod-0d23.adoc[`HasPrintMethod<balb::FeatureTestMessage>`] | Specialize `HasPrintMethod` to indicate that `FeatureTestMessage` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0b2.adoc[`HasPrintMethod<balb::Request>`] | Specialize `HasPrintMethod` to indicate that `Request` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0b7.adoc[`HasPrintMethod<balb::Response>`] | Specialize `HasPrintMethod` to indicate that `Response` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-058.adoc[`HasPrintMethod<balb::Sequence1>`] | Specialize `HasPrintMethod` to indicate that `Sequence1` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0a6.adoc[`HasPrintMethod<balb::Sequence2>`] | Specialize `HasPrintMethod` to indicate that `Sequence2` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0e55.adoc[`HasPrintMethod<balb::Sequence3>`] | Specialize `HasPrintMethod` to indicate that `Sequence3` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-051.adoc[`HasPrintMethod<balb::Sequence4>`] | Specialize `HasPrintMethod` to indicate that `Sequence4` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0aa.adoc[`HasPrintMethod<balb::Sequence5>`] | Specialize `HasPrintMethod` to indicate that `Sequence5` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-053.adoc[`HasPrintMethod<balb::Sequence6>`] | Specialize `HasPrintMethod` to indicate that `Sequence6` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-094.adoc[`HasPrintMethod<balb::SequenceWithAnonymity>`] | Specialize `HasPrintMethod` to indicate that `SequenceWithAnonymity` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-066.adoc[`HasPrintMethod<balb::SequenceWithAnonymityChoice>`] | Specialize `HasPrintMethod` to indicate that `SequenceWithAnonymityChoice` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0d28.adoc[`HasPrintMethod<balb::SequenceWithAnonymityChoice1>`] | Specialize `HasPrintMethod` to indicate that `SequenceWithAnonymityChoice1` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0758.adoc[`HasPrintMethod<balb::SequenceWithAnonymityChoice2>`] | Specialize `HasPrintMethod` to indicate that `SequenceWithAnonymityChoice2` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-08c.adoc[`HasPrintMethod<balb::SimpleRequest>`] | Specialize `HasPrintMethod` to indicate that `SimpleRequest` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0a8.adoc[`HasPrintMethod<balb::UnsignedSequence>`] | Specialize `HasPrintMethod` to indicate that `UnsignedSequence` has a `print` method. | xref:BloombergLP/bdlb/HasPrintMethod-0bc.adoc[`HasPrintMethod<balb::VoidSequence>`] | Specialize `HasPrintMethod` to indicate that `VoidSequence` has a `print` method. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#