AGX Dynamics 2.42.2.1
Loading...
Searching...
No Matches
agxStream::StorageStream::ScopedBlock Class Reference

Ties a beginBlock/endBlock pair to a scope. More...

#include <StorageStream.h>

Public Member Functions

 ScopedBlock (StorageStream &stream, const char *blockName)
 The data pointed to by 'blockName' is not copied.
 
 ~ScopedBlock ()
 

Detailed Description

Ties a beginBlock/endBlock pair to a scope.

Definition at line 280 of file StorageStream.h.

Constructor & Destructor Documentation

◆ ScopedBlock()

agxStream::StorageStream::ScopedBlock::ScopedBlock ( StorageStream stream,
const char *  blockName 
)

The data pointed to by 'blockName' is not copied.

It is the responsibility of the caller to ensure that the pointer is valid for the duration of the ScopedBlock's lifetime.

◆ ~ScopedBlock()

agxStream::StorageStream::ScopedBlock::~ScopedBlock ( )

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