Loading [MathJax]/extensions/tex2jax.js
Back to FabImage Library website

You are here: Start » Function Reference » File System » TestFileEmpty

TestFileEmpty


Header:STD.h
Namespace:fil

Checks if the size of the file is equal to zero.

Syntax

void fil::TestFileEmpty
(
	const ftl::File& inFile,
	bool& outEmpty
)

Parameters

Name Type Default Description
inFile const File&
outEmpty bool&

Errors

List of possible exceptions:

Error type Description
DomainError File does not exist in TestFileEmpty
DomainError Path does not point to a file in TestFileEmpty