![]() |
ATLAS Offline Software
|
Definition of a field info structure. More...
Public Types | |
| enum | Options { PRIMARY_KEY = 1 << 0 , NOT_NULL = 1 << 1 , UNIQUE = 1 << 2 , CLUSTERED = 1 << 3 , NONCLUSTERED = 1 << 4 } |
| enum | Type { UNKNOWN = 0 , UCHAR , USHORT , UINT , ULONG , CHAR , SHORT , INT , LONG , BOOL , FLOAT , DOUBLE , STRING , NTCHAR , LONG_STRING , LONG_NTCHAR , OBJECT_REF , CONTAINED_REF , TOKEN , BLOB , ANY , POINTER , LONGLONG , ULONGLONG , NATIVE_TYPES = 1000 } |
Public Member Functions | |
| FieldDesc (const DbColumn &c) | |
| FieldDesc (FieldDesc const &other)=delete | |
| FieldDesc (FieldDesc &&other)=default | |
| ~FieldDesc ()=default | |
| FieldDesc & | operator= (FieldDesc const &other)=delete |
| FieldDesc & | operator= (FieldDesc &&other)=default |
| const std::string | typeName () |
| bool | isValid () const |
| Is it a valid (known) data type ? | |
| const std::string & | name () const |
| Access to column name. | |
| const std::string & | typeName () const |
| Access to OS independent type name. | |
| int | options () const |
| Access to options. | |
| int | offset () const |
| Offset of column from this pointer. | |
| int | size () const |
| Size of a single object within the column. | |
| int | nElement () const |
| Number of elements. | |
| int | typeID () const |
| Integer type identifier. | |
| const std::string | toString () const |
| Create string representation of the type information object. | |
| DbStatus | fromString (const std::string &string_rep) |
| Load type information object from string representation. | |
Static Public Member Functions | |
| static const std::string | typeName (int typ) |
| Access type name by type identifier from RTTI. | |
Public Attributes | |
| std::string | fieldname |
| std::optional< ROOT::RNTupleView< void > > | view |
| std::string | sgkey |
| TClass * | clazz = nullptr |
| void * | object = nullptr |
| std::string | str |
| size_t | rows_written = 0 |
| std::unique_ptr< RootAuxDynIO::IRootAuxDynReader > | auxdyn_reader |
| std::unique_ptr< RootAuxDynIO::IRNTupleAuxDynWriter > | auxdyn_writer |
Private Attributes | |
| std::string | m_typeName |
| OS independent type name. | |
| std::string | m_colName |
| Column name. | |
| int | m_offset |
| Offset from object pointer. | |
| int | m_nElem |
| For fixed size arrays: number of object elements. | |
| int | m_opts |
| Column options. | |
| int | m_size |
| Object size. | |
| int | m_type |
| Storage Type identifier. | |
Definition of a field info structure.
Definition at line 46 of file RNTupleContainer.h.
|
inherited |
| Enumerator | |
|---|---|
| PRIMARY_KEY | |
| NOT_NULL | |
| UNIQUE | |
| CLUSTERED | |
| NONCLUSTERED | |
Definition at line 37 of file DbColumn.h.
|
inherited |
| Enumerator | |
|---|---|
| UNKNOWN | |
| UCHAR | |
| USHORT | |
| UINT | |
| ULONG | |
| CHAR | |
| SHORT | |
| INT | |
| LONG | |
| BOOL | |
| FLOAT | |
| DOUBLE | |
| STRING | |
| NTCHAR | |
| LONG_STRING | |
| LONG_NTCHAR | |
| OBJECT_REF | |
| CONTAINED_REF | |
| TOKEN | |
| BLOB | |
| ANY | |
| POINTER | |
| LONGLONG | |
| ULONGLONG | |
| NATIVE_TYPES | |
Definition at line 44 of file DbColumn.h.
|
explicit |
|
delete |
|
default |
|
default |
|
inherited |
Load type information object from string representation.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Number of elements.
Definition at line 110 of file DbColumn.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Create string representation of the type information object.
|
inlineinherited |
|
inlineinherited |
|
staticinherited |
Access type name by type identifier from RTTI.
| const std::string RNTupleContainer::FieldDesc::typeName | ( | ) |
| std::unique_ptr<RootAuxDynIO::IRootAuxDynReader> RNTupleContainer::FieldDesc::auxdyn_reader |
Definition at line 62 of file RNTupleContainer.h.
| std::unique_ptr<RootAuxDynIO::IRNTupleAuxDynWriter> RNTupleContainer::FieldDesc::auxdyn_writer |
Definition at line 65 of file RNTupleContainer.h.
| TClass* RNTupleContainer::FieldDesc::clazz = nullptr |
Definition at line 51 of file RNTupleContainer.h.
| std::string RNTupleContainer::FieldDesc::fieldname |
Definition at line 48 of file RNTupleContainer.h.
|
privateinherited |
Column name.
Definition at line 59 of file DbColumn.h.
|
privateinherited |
For fixed size arrays: number of object elements.
Definition at line 63 of file DbColumn.h.
|
privateinherited |
Offset from object pointer.
Definition at line 61 of file DbColumn.h.
|
privateinherited |
Column options.
Definition at line 65 of file DbColumn.h.
|
privateinherited |
Object size.
Definition at line 67 of file DbColumn.h.
|
privateinherited |
Storage Type identifier.
Definition at line 69 of file DbColumn.h.
|
privateinherited |
OS independent type name.
Definition at line 57 of file DbColumn.h.
| void* RNTupleContainer::FieldDesc::object = nullptr |
Definition at line 52 of file RNTupleContainer.h.
| size_t RNTupleContainer::FieldDesc::rows_written = 0 |
Definition at line 59 of file RNTupleContainer.h.
| std::string RNTupleContainer::FieldDesc::sgkey |
Definition at line 50 of file RNTupleContainer.h.
| std::string RNTupleContainer::FieldDesc::str |
Definition at line 55 of file RNTupleContainer.h.
| std::optional< ROOT::RNTupleView<void> > RNTupleContainer::FieldDesc::view |
Definition at line 49 of file RNTupleContainer.h.