Back to Aurora Vision Library website

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

TestDirectoryEmpty


Header: STD.h
Namespace: avl
Module: FoundationLite

Checks if a given directory is empty.

Syntax

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

Parameters

Name Type Default Description
Input value inDirectory const Directory&
Output value 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