ATLAS Offline Software
|
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash versions (Identifier32 or IdentifierHash). This context is composed of. More...
#include <IdContext.h>
Public Types | |
using | size_type = ExpandedIdentifier::size_type |
Public Member Functions | |
IdContext ()=default | |
IdContext (size_type begin_index, size_type end_index) | |
Construct with no prefix. More... | |
IdContext (const ExpandedIdentifier &prefix, size_type begin_index, size_type end_index) | |
Constructors with full initialization of members. More... | |
IdContext (ExpandedIdentifier &&prefix, size_type begin_index, size_type end_index) | |
void | set (const ExpandedIdentifier &prefix, size_type begin_index, size_type end_index) |
Set all the private members. More... | |
const ExpandedIdentifier & | prefix_id () const |
Accessors. More... | |
size_type | begin_index () const |
size_type | end_index () const |
Private Attributes | |
ExpandedIdentifier | m_prefix {} |
size_type | m_begin_index {} |
size_type | m_end_index {} |
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash versions (Identifier32 or IdentifierHash). This context is composed of.
1) begin and end indices of fields that are stored in the compact/hash id 2) a possible "prefix" identifier for cases where the begin index is not 0 or the top level of the expaneded identifier.
The IdContext is needed when only some of the identifier levels are to encoded in the compact/hash ids.
Definition at line 26 of file IdContext.h.
Definition at line 29 of file IdContext.h.
|
default |
Construct with no prefix.
Definition at line 60 of file IdContext.h.
IdContext::IdContext | ( | const ExpandedIdentifier & | prefix, |
size_type | begin_index, | ||
size_type | end_index | ||
) |
Constructors with full initialization of members.
Definition at line 9 of file IdContext.cxx.
IdContext::IdContext | ( | ExpandedIdentifier && | prefix, |
size_type | begin_index, | ||
size_type | end_index | ||
) |
Definition at line 19 of file IdContext.cxx.
|
inline |
Definition at line 45 of file IdContext.h.
|
inline |
Definition at line 46 of file IdContext.h.
|
inline |
|
inline |
Set all the private members.
Definition at line 66 of file IdContext.h.
|
private |
Definition at line 54 of file IdContext.h.
|
private |
Definition at line 55 of file IdContext.h.
|
private |
Definition at line 53 of file IdContext.h.