GeoModel - GeoModelCore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GeoElement Class Reference

This class represents chemical elements. Elements are allocated on the heap and deleted automatically when their reference count falls to zero. More...

#include <GeoElement.h>

Inheritance diagram for GeoElement:
RCBase

Public Member Functions

 GeoElement (const std::string &Name, const std::string &Symbol, double Z, double A)
 
int operator== (const GeoElement &right) const
 
int operator!= (const GeoElement &right) const
 
double getN () const
 
const std::string & getName () const
 
const std::string & getSymbol () const
 
const double & getZ () const
 
const double & getA () const
 
double getRadTsai () const
 
- Public Member Functions inherited from RCBase
void ref () const
 
void unref () const
 
unsigned int refCount () const
 

Private Member Functions

 GeoElement (const GeoElement &right)
 
GeoElement & operator= (const GeoElement &right)
 

Private Attributes

std::string m_name
 
std::string m_symbol
 
double m_z
 
double m_a
 

Detailed Description

This class represents chemical elements. Elements are allocated on the heap and deleted automatically when their reference count falls to zero.

Definition at line 20 of file GeoElement.h.


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