LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
A type with a specified tag. More...
#include "TupleLookupByTag.h"
Public Types | |
using | tag = Tag |
Tag of this object. More... | |
using | tagged_type = T |
Type of the object which was tagged. More... | |
Public Member Functions | |
template<typename... Args> | |
TaggedType (Args &&...args) | |
A type with a specified tag.
T | the base type being tagged |
Tag | the tag to be assigned to the new type |
add_tag
, TagExtractor
The new type TaggedType<T, Tag>
inherits from T
(including its constructors) and adds (and hides existing) tag
type with value Tag
. This type is suitable to be used in the tag-related traits.
For example:
Definition at line 532 of file TupleLookupByTag.h.
using util::TaggedType< T, Tag >::tag = Tag |
Tag of this object.
Definition at line 539 of file TupleLookupByTag.h.
using util::TaggedType< T, Tag >::tagged_type = T |
Type of the object which was tagged.
Definition at line 540 of file TupleLookupByTag.h.
|
inline |
Definition at line 536 of file TupleLookupByTag.h.