Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
std::hash< G4VisAttributes > Struct Reference

#include <G4VVtkPipeline.hh>

Public Member Functions

std::size_t operator() (const G4VisAttributes &va) const
 

Detailed Description

Definition at line 69 of file G4VVtkPipeline.hh.

Member Function Documentation

◆ operator()()

std::size_t std::hash< G4VisAttributes >::operator() ( const G4VisAttributes & va) const
inline

Definition at line 71 of file G4VVtkPipeline.hh.

72 {
73 using std::hash;
74 using std::size_t;
75
76 std::size_t h = 0;
77
84 std::hash_combine(h, static_cast<int>(va.GetLineStyle()));
85
86 return h;
87 }
G4double GetBlue() const
Definition G4Colour.hh:154
G4double GetAlpha() const
Definition G4Colour.hh:155
G4double GetRed() const
Definition G4Colour.hh:152
G4double GetGreen() const
Definition G4Colour.hh:153
G4bool IsDaughtersInvisible() const
LineStyle GetLineStyle() const
const G4Colour & GetColour() const
G4bool IsVisible() const
void hash_combine(std::size_t)

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