Non-owning handle to an RNTupleAttrSetWriter.
RNTupleAttrSetWriter can only be used through an RNTupleAttrSetWriterHandle, a weak_ptr-like object that allows safe access to it. The lifetime of an attribute set writer is tied to its parent RNTupleWriter, so the handle handed out by RNTupleWriter::CreateAttributeSet is invalidated as soon as the parent writer is destructed.
Definition at line 219 of file RNTupleAttrWriting.hxx.
Public Member Functions | |
| RNTupleAttrSetWriterHandle (const RNTupleAttrSetWriterHandle &)=delete | |
| RNTupleAttrSetWriterHandle (RNTupleAttrSetWriterHandle &&)=default | |
| RNTupleAttrSetWriter * | operator-> () |
| Retrieves the underlying pointer to the AttrSetWriter, throwing if it's invalid. | |
| RNTupleAttrSetWriterHandle & | operator= (const RNTupleAttrSetWriterHandle &)=delete |
| RNTupleAttrSetWriterHandle & | operator= (RNTupleAttrSetWriterHandle &&other)=default |
Private Member Functions | |
| RNTupleAttrSetWriterHandle (const std::shared_ptr< RNTupleAttrSetWriter > &range) | |
Private Attributes | |
| std::weak_ptr< RNTupleAttrSetWriter > | fWriter |
Friends | |
| class | ROOT::RNTupleWriter |
#include <ROOT/RNTupleAttrWriting.hxx>
|
inlineexplicitprivate |
Definition at line 224 of file RNTupleAttrWriting.hxx.
|
delete |
|
default |
|
inline |
Retrieves the underlying pointer to the AttrSetWriter, throwing if it's invalid.
Definition at line 233 of file RNTupleAttrWriting.hxx.
|
delete |
|
default |
|
friend |
Definition at line 220 of file RNTupleAttrWriting.hxx.
|
private |
Definition at line 222 of file RNTupleAttrWriting.hxx.