|
AGX Dynamics
2.37.2.0
|
Ties a beginSecion/endSection pair to a scope. More...
#include <Archive.h>
Public Member Functions | |
| ScopedSection (Archive &archive, const char *sectionName, bool shouldWeCreateSection=true) | |
| The data pointed to by 'sectionName' is not copied. More... | |
| ~ScopedSection () | |
| agxStream::Archive::ScopedSection::ScopedSection | ( | Archive & | archive, |
| const char * | sectionName, | ||
| bool | shouldWeCreateSection = true |
||
| ) |
The data pointed to by 'sectionName' is not copied.
It is the responsibility of the caller to ensure that the pointer is valid for the duration of the ScopedSection's lifetime.
| archive | - The archive in which a beginSection/endSection will be created |
| sectionName | - The name of the created section |
| shouldWeCreateSection | - If false no section will be created. Default true. |
| agxStream::Archive::ScopedSection::~ScopedSection | ( | ) |