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

#include <AthenaAttributeSpecification.h>

Collaboration diagram for AthenaAttributeSpecification:

Public Member Functions

 AthenaAttributeSpecification (const std::string &n, const std::string &t, const std::string &g="UNKNOWN", const std::string &u="UNKNOWN")
 AthenaAttributeSpecification (const std::string &n, const AthenaAttributeType &t)
const std::string & name () const
std::string typeName () const
std::string unit () const
std::string group () const
const AthenaAttributeTypeattributeType () const
bool operator== (const AthenaAttributeSpecification &rhs) const
 Equal operator.
bool operator!= (const AthenaAttributeSpecification &rhs) const
 Comparison operator.

Private Attributes

std::string m_name
AthenaAttributeType m_type

Detailed Description

Definition at line 24 of file AthenaAttributeSpecification.h.

Constructor & Destructor Documentation

◆ AthenaAttributeSpecification() [1/2]

AthenaAttributeSpecification::AthenaAttributeSpecification ( const std::string & n,
const std::string & t,
const std::string & g = "UNKNOWN",
const std::string & u = "UNKNOWN" )
inline

Definition at line 28 of file AthenaAttributeSpecification.h.

◆ AthenaAttributeSpecification() [2/2]

AthenaAttributeSpecification::AthenaAttributeSpecification ( const std::string & n,
const AthenaAttributeType & t )
inline

Definition at line 34 of file AthenaAttributeSpecification.h.

35 :
36 m_name(n),m_type(t)
37 {}

Member Function Documentation

◆ attributeType()

const AthenaAttributeType & AthenaAttributeSpecification::attributeType ( ) const
inline

Definition at line 43 of file AthenaAttributeSpecification.h.

43{return m_type;}

◆ group()

std::string AthenaAttributeSpecification::group ( ) const
inline

Definition at line 42 of file AthenaAttributeSpecification.h.

42{return m_type.group();}

◆ name()

const std::string & AthenaAttributeSpecification::name ( ) const
inline

Definition at line 39 of file AthenaAttributeSpecification.h.

39{return m_name;}

◆ operator!=()

bool AthenaAttributeSpecification::operator!= ( const AthenaAttributeSpecification & rhs) const
inline

Comparison operator.

Definition at line 65 of file AthenaAttributeSpecification.h.

66{
67 return ( this->m_name != rhs.m_name ||
68 this->m_type != rhs.m_type );
69}

◆ operator==()

bool AthenaAttributeSpecification::operator== ( const AthenaAttributeSpecification & rhs) const
inline

Equal operator.

Definition at line 58 of file AthenaAttributeSpecification.h.

59{
60 return ( this->m_name == rhs.m_name &&
61 this->m_type == rhs.m_type );
62}

◆ typeName()

std::string AthenaAttributeSpecification::typeName ( ) const
inline

Definition at line 40 of file AthenaAttributeSpecification.h.

40{return m_type.typeName();}

◆ unit()

std::string AthenaAttributeSpecification::unit ( ) const
inline

Definition at line 41 of file AthenaAttributeSpecification.h.

41{return m_type.unit();}

Member Data Documentation

◆ m_name

std::string AthenaAttributeSpecification::m_name
private

Definition at line 52 of file AthenaAttributeSpecification.h.

◆ m_type

AthenaAttributeType AthenaAttributeSpecification::m_type
private

Definition at line 53 of file AthenaAttributeSpecification.h.


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