DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | Private Member Functions | List of all members
dd4hep::ConstantObject Class Reference

Concrete object implementation for the Constant handle. More...

#include <ObjectsInterna.h>

Inheritance diagram for dd4hep::ConstantObject:
dd4hep::NamedObject

Public Member Functions

 ConstantObject ()
 Default constructor for ROOT persistency. More...
 
 ConstantObject (const std::string &nam, const std::string &val, const std::string &typ)
 Standard constructor. More...
 
virtual ~ConstantObject ()
 Default destructor. More...
 
- Public Member Functions inherited from dd4hep::NamedObject
 NamedObject (const char *nam, const char *typ="")
 Initializing constructor. More...
 
 NamedObject (const std::string &nam)
 Initializing constructor. More...
 
 NamedObject (const std::string &nam, const std::string &typ)
 Initializing constructor. More...
 
 NamedObject ()=default
 Standard constructor. More...
 
 NamedObject (const NamedObject &c)=default
 Copy constructor. More...
 
 NamedObject (NamedObject &&c)=default
 Move constructor. More...
 
virtual ~NamedObject ()=default
 Default destructor. More...
 
NamedObjectoperator= (const NamedObject &c)=default
 Assignment operator. More...
 
NamedObjectoperator= (NamedObject &&c)=default
 Move assignment operator. More...
 
const char * GetName () const
 Access name. More...
 
void SetName (const char *nam)
 Set name (used by Handle) More...
 
void SetTitle (const char *tit)
 Set Title (used by Handle) More...
 
const char * GetTitle () const
 Get name (used by Handle) More...
 

Public Attributes

std::string dataType
 Constant type. More...
 
- Public Attributes inherited from dd4hep::NamedObject
std::string name
 The object name. More...
 
std::string type
 The object type. More...
 

Private Member Functions

 ConstantObject (const ConstantObject &)
 Private copy constructor. More...
 
ConstantObjectoperator= (const ConstantObject &)
 Private assignment operator. More...
 

Detailed Description

Concrete object implementation for the Constant handle.

Author
M.Frank
Version
1.0

Definition at line 64 of file ObjectsInterna.h.

Constructor & Destructor Documentation

◆ ConstantObject() [1/3]

ConstantObject::ConstantObject ( )

Default constructor for ROOT persistency.

Default constructor.

Definition at line 52 of file ObjectsInterna.cpp.

◆ ConstantObject() [2/3]

ConstantObject::ConstantObject ( const std::string &  nam,
const std::string &  val,
const std::string &  typ 
)

Standard constructor.

Definition at line 57 of file ObjectsInterna.cpp.

◆ ~ConstantObject()

ConstantObject::~ConstantObject ( )
virtual

Default destructor.

Definition at line 64 of file ObjectsInterna.cpp.

◆ ConstantObject() [3/3]

dd4hep::ConstantObject::ConstantObject ( const ConstantObject )
inlineprivate

Private copy constructor.

Definition at line 76 of file ObjectsInterna.h.

Member Function Documentation

◆ operator=()

ConstantObject& dd4hep::ConstantObject::operator= ( const ConstantObject )
inlineprivate

Private assignment operator.

Definition at line 78 of file ObjectsInterna.h.

Member Data Documentation

◆ dataType

std::string dd4hep::ConstantObject::dataType

Constant type.

Definition at line 67 of file ObjectsInterna.h.


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