Xport Interface: parser::operator !

Evaluates the formatter object.

bool formatter::operator !();

Parameters

None

Returns

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

Remarks

This operation is used to verify the state of parser's internal input stream. The input stream/file is specified in parser'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 parser object before using it to parse a file or input stream.

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.