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

◆ List() [4/5]

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

List the contents of the structure via a PrintObjectPnt object.

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

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

This version should be used if your printer object must change its internal state, a pointer to the printer must be supplied.

See also
SdsList()
Parameters
printerAn object sub-classed from PrintObject, the (non-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.