|
Constructor for formatter
.
formatter::formatter( 1st Variety
const std::string& filename
);
formatter::formatter 2nd Variety
std::ostream& out
);
A full file path/filename which specifies the file in which to write the output. Caller must insure the path exists, and the user has access rights to the directory.
A reference to an ouput stream (std::ostream). Can either be a user instanciated stream, including a std::ofstream or std::ostringstream. Or, one of the standard streams such as std::cout or std::cerr.
The formatter
constructor creates a formatting object which is used to output xhtml content from a document or element. A parameter must
be passed to the constructor specifying the output where the formatted content will be sent.
Constant