ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
ElementLinkCnv_p2< LINK_TYPE >::State Struct Reference

#include <ElementLinkCnv_p2.h>

Collaboration diagram for ElementLinkCnv_p2< LINK_TYPE >::State:

Public Types

typedef std::map< std::string, unsigned int > IndexMap
 

Public Member Functions

 State ()
 
 State (ElementLinkContNames_p2 &lookupTable)
 
 State (const ElementLinkContNames_p2 &lookupTable)
 
void reset (ElementLinkContNames_p2 &lookupTable)
 
void reset (const ElementLinkContNames_p2 &lookupTable)
 

Public Attributes

IndexMap m_nameIndexMap
 Map to find index of container name in lookup table. More...
 
ElementLinkContNames_p2m_lookupTable = nullptr
 Lookup table with list of container names and starting element link index for each container name change. More...
 
const ElementLinkContNames_p2m_clookupTable = nullptr
 
std::string m_lastNameAdded
 Last container name added - for persToTrans must be string by value
More...
 
const std::string * m_lastNameFound
 Last container name found - for transToPers use string ptr to avoid string copy. More...
 
unsigned int m_lastNameIndex = 0
 Last name inded. More...
 

Private Member Functions

const std::string * defaultLastName () const
 

Detailed Description

template<class LINK_TYPE>
struct ElementLinkCnv_p2< LINK_TYPE >::State

Definition at line 60 of file ElementLinkCnv_p2.h.

Member Typedef Documentation

◆ IndexMap

template<class LINK_TYPE >
typedef std::map<std::string, unsigned int> ElementLinkCnv_p2< LINK_TYPE >::State::IndexMap

Definition at line 62 of file ElementLinkCnv_p2.h.

Constructor & Destructor Documentation

◆ State() [1/3]

template<class LINK_TYPE >
ElementLinkCnv_p2< LINK_TYPE >::State::State ( )

◆ State() [2/3]

template<class LINK_TYPE >
ElementLinkCnv_p2< LINK_TYPE >::State::State ( ElementLinkContNames_p2 lookupTable)

◆ State() [3/3]

template<class LINK_TYPE >
ElementLinkCnv_p2< LINK_TYPE >::State::State ( const ElementLinkContNames_p2 lookupTable)

Member Function Documentation

◆ defaultLastName()

template<class LINK_TYPE >
const std::string* ElementLinkCnv_p2< LINK_TYPE >::State::defaultLastName ( ) const
private

◆ reset() [1/2]

template<class LINK_TYPE >
void ElementLinkCnv_p2< LINK_TYPE >::State::reset ( const ElementLinkContNames_p2 lookupTable)

◆ reset() [2/2]

template<class LINK_TYPE >
void ElementLinkCnv_p2< LINK_TYPE >::State::reset ( ElementLinkContNames_p2 lookupTable)

Member Data Documentation

◆ m_clookupTable

template<class LINK_TYPE >
const ElementLinkContNames_p2* ElementLinkCnv_p2< LINK_TYPE >::State::m_clookupTable = nullptr

Definition at line 73 of file ElementLinkCnv_p2.h.

◆ m_lastNameAdded

template<class LINK_TYPE >
std::string ElementLinkCnv_p2< LINK_TYPE >::State::m_lastNameAdded

Last container name added - for persToTrans must be string by value

Definition at line 76 of file ElementLinkCnv_p2.h.

◆ m_lastNameFound

template<class LINK_TYPE >
const std::string* ElementLinkCnv_p2< LINK_TYPE >::State::m_lastNameFound

Last container name found - for transToPers use string ptr to avoid string copy.

Definition at line 79 of file ElementLinkCnv_p2.h.

◆ m_lastNameIndex

template<class LINK_TYPE >
unsigned int ElementLinkCnv_p2< LINK_TYPE >::State::m_lastNameIndex = 0

Last name inded.

Definition at line 81 of file ElementLinkCnv_p2.h.

◆ m_lookupTable

template<class LINK_TYPE >
ElementLinkContNames_p2* ElementLinkCnv_p2< LINK_TYPE >::State::m_lookupTable = nullptr

Lookup table with list of container names and starting element link index for each container name change.

Definition at line 72 of file ElementLinkCnv_p2.h.

◆ m_nameIndexMap

template<class LINK_TYPE >
IndexMap ElementLinkCnv_p2< LINK_TYPE >::State::m_nameIndexMap

Map to find index of container name in lookup table.

Definition at line 69 of file ElementLinkCnv_p2.h.


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