Xport Interface: formatter::operator !

Evaluates the formatter object.

bool formatter::operator !();

Parameters

None

Returns

Returns true if it's specified output file/stream is valid and open, false otherwise.

Remarks

This operation is used to verify the state of formatter's internal output stream. The output stream/file is specified in formatter's constructor. If a file or stream is specified which is not opened or in a bad state, this operation will return false. If the stream or file is open and in a good state, the operation will return true.

This operation is handy for verifying the state of the formatter object before using it to format and output document's or markup objects.

Complexity

Constant

Example

Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.