AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ List() [2/5]

virtual void drama::sds::Id::List ( const PrintObjectCR printer,
int  lineMaxLen = 100 
) const
virtual

List the contents of the structure via a PrintObjectCR.

The "Print(const std::string &) const" method of the printer is invoked for each line of detail from an SDS Structure listing.

PrintObjectCR is an abstract class. The user should supply a sub-class to do the job.

This version can be used if your printer object does not change its internal state

See also
SdsList()
Parameters
printerAn object sub-classed from PrintObject, the (const) Print method of which will be invoked for each line in the listing.
lineMaxLenA maximum length for each line. Due to the structure of the underlying code, you need so specify this.