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

Class to support the handling of optical surfaces. More...

#include <PropertyTable.h>

Inheritance diagram for dd4hep::PropertyTable:
dd4hep::Handle< TGDMLMatrix >

Public Types

typedef TGDMLMatrix Object
 
- Public Types inherited from dd4hep::Handle< TGDMLMatrix >
typedef TGDMLMatrix Object
 Extern accessible definition of the contained element type. More...
 
typedef Handle< TGDMLMatrix > Base
 Self type: used by sub-classes. More...
 

Public Member Functions

 PropertyTable ()=default
 Default constructor. More...
 
 PropertyTable (const PropertyTable &e)=default
 Copy constructor. More...
 
 PropertyTable (const Handle< Object > &e)
 Constructor from same-type handle. More...
 
template<typename Q >
 PropertyTable (const Handle< Q > &e)
 Constructor from arbitray handle. More...
 
 PropertyTable (Object *obj)
 Initializing constructor using object pointer. More...
 
 PropertyTable (Detector &description, const std::string &table_name, const std::string &property_name, size_t num_rows, size_t num_cols)
 Initializing constructor. More...
 
PropertyTableoperator= (const PropertyTable &m)=default
 Assignment operator. More...
 
- Public Member Functions inherited from dd4hep::Handle< TGDMLMatrix >
 Handle ()=default
 Default constructor. More...
 
 Handle (Handle< TGDMLMatrix > &&element)=default
 Copy constructor. More...
 
 Handle (const Handle< TGDMLMatrix > &element)=default
 Copy constructor. More...
 
 Handle (TGDMLMatrix *element)
 Initializing constructor from pointer. More...
 
 Handle (Q *element)
 Initializing constructor from unrelated pointer with type checking. More...
 
 Handle (const Handle< Q > &element)
 Initializing constructor from unrelated handle with type checking. More...
 
Handle< TGDMLMatrix > & operator= (Handle< TGDMLMatrix > &&element)=default
 Assignment move operator. More...
 
Handle< TGDMLMatrix > & operator= (const Handle< TGDMLMatrix > &element)=default
 Assignment copy operator. More...
 
bool operator== (const Handle< TGDMLMatrix > &element) const
 Boolean operator == used for RB tree insertions. More...
 
bool operator< (const Handle< TGDMLMatrix > &element) const
 Boolean operator < used for RB tree insertions. More...
 
bool operator> (const Handle< TGDMLMatrix > &element) const
 Boolean operator > used for RB tree insertions. More...
 
bool isValid () const
 Check the validity of the object held by the handle. More...
 
bool operator! () const
 Check the validity of the object held by the handle. More...
 
Handle< TGDMLMatrix > & clear ()
 Release the object held by the handle. More...
 
TGDMLMatrix * operator-> () const
 Access the held object using the -> operator. More...
 
 operator TGDMLMatrix & () const
 Automatic type conversion to an object references. More...
 
TGDMLMatrix & operator* () const
 Access the held object using the * operator. More...
 
TGDMLMatrix * ptr () const
 Access to the held object. More...
 
Q * _ptr () const
 Access to an unrelated object type. More...
 
Q * data () const
 Access to an unrelated object type. More...
 
Q & object () const
 Access to an unrelated object type. More...
 
TGDMLMatrix * access () const
 Checked object access. Throws invalid handle runtime exception if invalid handle. More...
 
const char * name () const
 Access the object name (or "" if not supported by the object) More...
 
const char * name () const
 
const char * name () const
 
void assign (Object *n, const std::string &nam, const std::string &title)
 Assign a new named object. Note: object references must be managed by the user. More...
 
void assign (_Segmentation *s, const std::string &n, const std::string &)
 
void assign (NamedObject *p, const std::string &n, const std::string &t)
 
void destroy ()
 Destroy the underlying object (be careful here: things are not reference counted)! More...
 

Additional Inherited Members

- Static Public Member Functions inherited from dd4hep::Handle< TGDMLMatrix >
static void bad_assignment (const std::type_info &from, const std::type_info &to)
 Helper routine called when unrelated types are assigned. More...
 
- Public Attributes inherited from dd4hep::Handle< TGDMLMatrix >
TGDMLMatrix * m_element
 Single and only data member: Reference to the actual element. More...
 

Detailed Description

Class to support the handling of optical surfaces.

Author
M.Frank
Version
1.0

Definition at line 32 of file PropertyTable.h.

Member Typedef Documentation

◆ Object

typedef TGDMLMatrix dd4hep::PropertyTable::Object

Definition at line 34 of file PropertyTable.h.

Constructor & Destructor Documentation

◆ PropertyTable() [1/6]

dd4hep::PropertyTable::PropertyTable ( )
default

Default constructor.

◆ PropertyTable() [2/6]

dd4hep::PropertyTable::PropertyTable ( const PropertyTable e)
default

Copy constructor.

◆ PropertyTable() [3/6]

dd4hep::PropertyTable::PropertyTable ( const Handle< Object > &  e)
inline

Constructor from same-type handle.

Definition at line 42 of file PropertyTable.h.

◆ PropertyTable() [4/6]

template<typename Q >
dd4hep::PropertyTable::PropertyTable ( const Handle< Q > &  e)
inline

Constructor from arbitray handle.

Definition at line 45 of file PropertyTable.h.

◆ PropertyTable() [5/6]

dd4hep::PropertyTable::PropertyTable ( Object obj)
inline

Initializing constructor using object pointer.

Definition at line 47 of file PropertyTable.h.

◆ PropertyTable() [6/6]

PropertyTable::PropertyTable ( Detector description,
const std::string &  table_name,
const std::string &  property_name,
size_t  num_rows,
size_t  num_cols 
)

Initializing constructor.

Definition at line 31 of file PropertyTable.cpp.

Member Function Documentation

◆ operator=()

PropertyTable& dd4hep::PropertyTable::operator= ( const PropertyTable m)
default

Assignment operator.


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