|
BDE 4.14.0 Production release
|
#include <bdlb_variant.h>
Public Member Functions | |
| Variant_PrintVisitor (bsl::ostream *stream, int level, int spacesPerLevel) | |
| template<class TYPE > | |
| void | operator() (const TYPE &value) const |
| void | operator() (bslmf::Nil) const |
Public Attributes | |
| bsl::ostream * | d_stream_p |
| int | d_level |
| int | d_spacesPerLevel |
This visitor, when invoked as a non-modifiable function object on an instance of some template parameter TYPE, writes the value of that instance to a stream specified at construction of this visitor, using spacing information also specified at construction.
|
inline |
|
inline |
|
inline |
| int bdlb::Variant_PrintVisitor::d_level |
| int bdlb::Variant_PrintVisitor::d_spacesPerLevel |
| bsl::ostream* bdlb::Variant_PrintVisitor::d_stream_p |