ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4Identifier Class Reference

#include <LArG4Identifier.h>

Collaboration diagram for LArG4Identifier:

Public Types

enum  max_value_type { max_value = SHRT_MAX }
typedef short element_type
typedef std::vector< element_typeelement_vector
typedef std::vector< element_type >::size_type size_type

Public Member Functions

 LArG4Identifier ()
 LArG4Identifier (const LArG4Identifier &other)
 LArG4Identifier (LArG4Identifier &&other)=default
 LArG4Identifier (const LArG4Identifier &other, size_type start)
 LArG4Identifier (const std::string &text)
virtual ~LArG4Identifier ()
LArG4Identifieroperator= (const LArG4Identifier &)
LArG4Identifieroperator= (LArG4Identifier &&)=default
void add (element_type value)
LArG4Identifieroperator<< (element_type value)
element_typeoperator[] (size_type index)
void set (const std::string &text)
void clear ()
element_type operator[] (size_type index) const
size_type fields () const
int operator== (const LArG4Identifier &other) const
int operator!= (const LArG4Identifier &other) const
int operator< (const LArG4Identifier &other) const
int operator> (const LArG4Identifier &other) const
int prefix_less (const LArG4Identifier &other) const
int match (const LArG4Identifier &other) const
 Test if the shorter of two ids is identical to the equivalent sub-id extracted from the longer.
 operator std::string () const
void show () const

Private Attributes

element_vector m_fields

Detailed Description

Definition at line 120 of file LArG4Identifier.h.

Member Typedef Documentation

◆ element_type

Definition at line 128 of file LArG4Identifier.h.

◆ element_vector

Definition at line 129 of file LArG4Identifier.h.

◆ size_type

typedef std::vector<element_type>::size_type LArG4Identifier::size_type

Definition at line 130 of file LArG4Identifier.h.

Member Enumeration Documentation

◆ max_value_type

Enumerator
max_value 

Definition at line 132 of file LArG4Identifier.h.

Constructor & Destructor Documentation

◆ LArG4Identifier() [1/5]

LArG4Identifier::LArG4Identifier ( )

◆ LArG4Identifier() [2/5]

LArG4Identifier::LArG4Identifier ( const LArG4Identifier & other)

◆ LArG4Identifier() [3/5]

LArG4Identifier::LArG4Identifier ( LArG4Identifier && other)
default

◆ LArG4Identifier() [4/5]

LArG4Identifier::LArG4Identifier ( const LArG4Identifier & other,
size_type start )

◆ LArG4Identifier() [5/5]

LArG4Identifier::LArG4Identifier ( const std::string & text)

◆ ~LArG4Identifier()

virtual LArG4Identifier::~LArG4Identifier ( )
inlinevirtual

Definition at line 162 of file LArG4Identifier.h.

162{};

Member Function Documentation

◆ add()

void LArG4Identifier::add ( element_type value)

◆ clear()

void LArG4Identifier::clear ( )

◆ fields()

size_type LArG4Identifier::fields ( ) const

◆ match()

int LArG4Identifier::match ( const LArG4Identifier & other) const

Test if the shorter of two ids is identical to the equivalent sub-id extracted from the longer.

◆ operator std::string()

LArG4Identifier::operator std::string ( ) const

◆ operator!=()

int LArG4Identifier::operator!= ( const LArG4Identifier & other) const

◆ operator<()

int LArG4Identifier::operator< ( const LArG4Identifier & other) const

◆ operator<<()

LArG4Identifier & LArG4Identifier::operator<< ( element_type value)

◆ operator=() [1/2]

LArG4Identifier & LArG4Identifier::operator= ( const LArG4Identifier & )

◆ operator=() [2/2]

LArG4Identifier & LArG4Identifier::operator= ( LArG4Identifier && )
default

◆ operator==()

int LArG4Identifier::operator== ( const LArG4Identifier & other) const

◆ operator>()

int LArG4Identifier::operator> ( const LArG4Identifier & other) const

◆ operator[]() [1/2]

element_type & LArG4Identifier::operator[] ( size_type index)

◆ operator[]() [2/2]

element_type LArG4Identifier::operator[] ( size_type index) const

◆ prefix_less()

int LArG4Identifier::prefix_less ( const LArG4Identifier & other) const

◆ set()

void LArG4Identifier::set ( const std::string & text)

◆ show()

void LArG4Identifier::show ( ) const

Member Data Documentation

◆ m_fields

element_vector LArG4Identifier::m_fields
private

Definition at line 235 of file LArG4Identifier.h.


The documentation for this class was generated from the following file: