|
libwreport
2.4
|
Smart pointer to handle/use varinfos. More...
#include <varinfo.h>
Public Member Functions | |
| _Varinfo * | impl () const |
| Access the underlying _Varinfo structure. | |
| MutableVarinfo (_Varinfo *impl) | |
| Create a smart pointer to the given variable information. | |
| MutableVarinfo (const MutableVarinfo &vi) | |
| Create a smart pointer to the given variable information. | |
| MutableVarinfo & | operator= (const MutableVarinfo &vi) |
| Standard smart pointer methods. | |
| _Varinfo * | operator-> () |
| Standard smart pointer methods. | |
| _Varinfo & | operator* () |
| Standard smart pointer methods. | |
Static Public Member Functions | |
| static MutableVarinfo | create_singleuse () |
| Create a single use varinfo structure. | |
Protected Attributes | |
| _Varinfo * | m_impl |
| Varinfo structure to which the pointer refers. | |
Friends | |
| class | wreport::Varinfo |
Smart pointer to handle/use varinfos.
| static MutableVarinfo wreport::MutableVarinfo::create_singleuse | ( | ) | [static] |
Create a single use varinfo structure.
A single use varinfo structure is not memory managed by a vartable and needs to be deallocated explicitly when it is not needed anymore.
The various fields of the resulting varinfo will be zeroed.
1.7.6.1