AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
 ~ScopedBlock ()
 

Detailed Description

Ties a beginBlock/endBlock pair to a scope.

Definition at line 280 of file StorageStream.h.

Constructor & Destructor Documentation

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.

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

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