Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Basics » SkipEmptyProfile

SkipEmptyProfile


Header: AVL.h
Namespace: avl
Module: FoundationPro

If the input profile contains at least one element, then it is copied to the output; otherwise Nil is returned.

Applications: Secures against domain errors caused by empty profiles, e.g. just before the ProfileAverage filter is to be invoked.

Syntax

C++
C#
 
void avl::SkipEmptyProfile
(
	const avl::Profile& inProfile,
	atl::Conditional<avl::Profile>& outNotEmptyProfile,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
Input value inProfile const Profile& Input profile
Output value outNotEmptyProfile Conditional<Profile>&
Output value outIsNotEmpty bool&