CARLA
Public Member Functions | Private Types | List of all members
FScopedStack< T > Class Template Reference

A stack to keep track of nested scopes. More...

#include <ScopedStack.h>

+ Inheritance diagram for FScopedStack< T >:
+ Collaboration diagram for FScopedStack< T >:

Public Member Functions

template<typename V >
auto PushScope (V &&Value)
 Push this scope into the stack. More...
 

Private Types

using Super = std::deque< T >
 

Detailed Description

template<typename T>
class FScopedStack< T >

A stack to keep track of nested scopes.

Definition at line 14 of file ScopedStack.h.

Member Typedef Documentation

◆ Super

template<typename T>
using FScopedStack< T >::Super = std::deque<T>
private

Definition at line 15 of file ScopedStack.h.

Member Function Documentation

◆ PushScope()

template<typename T>
template<typename V >
auto FScopedStack< T >::PushScope ( V &&  Value)
inline

Push this scope into the stack.

Automatically pops Value when the returned object goes out of the scope.

Definition at line 21 of file ScopedStack.h.

Referenced by FActorDefinitionValidator::ForEach(), and FActorDefinitionValidator::SingleIsValid().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: