Back to Adaptive Vision Library website

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

TestDirectoryEmpty


Checks if a given directory is empty.

Syntax

void avl::TestDirectoryEmpty
(
	const atl::Directory& inDirectory,
	bool& outEmpty
)

Parameters

Name Type Default Description
inDirectory const Directory&
outEmpty bool&

Errors

Error type Description
DomainError Path is not a directory in TestDirectoryEmpty
DomainError Directory does not exist in TestDirectoryEmpty