Back to Adaptive Vision Library website

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

TestDirectoryEmpty


Header:STD.h
Namespace:avl

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

List of possible exceptions:

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