Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::ScopedStackedString Class Reference

Scoped object that manages the life cycle of a single entry on the string stack. More...

#include <StackedString.h>

Public Member Functions

 ScopedStackedString (StackedString &string, AZStd::string_view value)
 
 ScopedStackedString (StackedString &string, size_t value)
 

Detailed Description

Scoped object that manages the life cycle of a single entry on the string stack.

Constructor & Destructor Documentation

◆ ScopedStackedString() [1/2]

AZ::ScopedStackedString::ScopedStackedString ( StackedString string,
AZStd::string_view  value 
)

Pushes a new entry on the stack.

Parameters
stringThe string stack to push to.
valueThe new entry to push.

◆ ScopedStackedString() [2/2]

AZ::ScopedStackedString::ScopedStackedString ( StackedString string,
size_t  value 
)

Pushes a new entry on the stack. This overload can be used to push an index to for instance an array.

Parameters
stringThe string stack to push to.
valueThe new entry to push. The integer will be converted to string.

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