#include <CdbNTuplePrintImpl.hh>
Static Public Member Functions | |
| CdbStatus | print (std::ostream &theOutputStream, const CdbCPtr< NTUPLE > &thePtr, const unsigned int theColumnWidth, const char *theIndent, const CdbNTuplePrintTypes::FrameType theFrameType, const CdbNTuplePrintTypes::FrameBorders theFrameBorders) |
| The print method. | |
This facility provides a printing facility for n-tuples. The tuples are printed onto the specified output stream. The facility also provides some limited control over a format of printed tuples.
The tool is able to deal with any n-tuple like classes, as long as they satisfy to the "read-only" part of a public interface of the CdbNTuple class.
To cope with various types of elements the facility has the second template parameter (CONVERTER) to specify a type-specific convertor for a type of n-tuple elements. A converter class can be any class similar to the CdbNTuplePrintDefaultConverter class.
class CdbCPtr
Definition at line 33 of file CdbNTuplePrintImpl.hh.
|
||||||||||||||||||||||||||||||||
|
The print method.
Definition at line 22 of file CdbNTuplePrintImpl.cc. References CdbNTuplePrintTypes::ClosedFrame, CdbNTuplePrintTypes::DoubleHashes, CdbStatus::Error, CdbStatus::IllegalParameters, CdbCPtr< P, CLOSE_POLICY >::isNull(), CdbNTuplePrintTypes::OpenFrame, CdbNTuplePrintTypes::SingleXes, and CdbStatus::Success. Referenced by CdbNTuplePrint< CONVERTER >::print(). |
1.3-rc3