DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::BasicGrammar::specialization_t Struct Reference

Structure to be filled if automatic object parsing from string is supposed to be supported. More...

#include <Grammar.h>

Public Member Functions

 specialization_t ()=default
 Default constructor. More...
 
 specialization_t (specialization_t &&copy)=default
 Move constructor. More...
 
 specialization_t (const specialization_t &copy)=default
 Copy constructor. More...
 
specialization_toperator= (specialization_t &&copy)=default
 Move assignment. More...
 
specialization_toperator= (const specialization_t &copy)=default
 Copy assignment. More...
 
bool operator== (const specialization_t &copy) const
 Equality operator. More...
 

Public Attributes

const Cast * cast = 0
 Ponter to ABI Cast structure. More...
 
void(* bind )(void *pointer)=0
 Bind opaque address to object. More...
 
void(* copy )(void *to, const void *from)=0
 Opaque copy constructor. More...
 
std::string(* str )(const BasicGrammar &gr, const void *ptr)=0
 PropertyGrammar overload: Serialize a property to a string. More...
 
bool(* fromString )(const BasicGrammar &gr, void *ptr, const std::string &value)=0
 PropertyGrammar overload: Retrieve value from string. More...
 
int(* eval )(const BasicGrammar &gr, void *ptr, const std::string &val)=0
 Evaluate string value if possible before calling boost::spirit. More...
 

Detailed Description

Structure to be filled if automatic object parsing from string is supposed to be supported.

Definition at line 72 of file Grammar.h.

Constructor & Destructor Documentation

◆ specialization_t() [1/3]

dd4hep::BasicGrammar::specialization_t::specialization_t ( )
default

Default constructor.

◆ specialization_t() [2/3]

dd4hep::BasicGrammar::specialization_t::specialization_t ( specialization_t &&  copy)
default

Move constructor.

◆ specialization_t() [3/3]

dd4hep::BasicGrammar::specialization_t::specialization_t ( const specialization_t copy)
default

Copy constructor.

Member Function Documentation

◆ operator=() [1/2]

specialization_t& dd4hep::BasicGrammar::specialization_t::operator= ( const specialization_t copy)
default

Copy assignment.

◆ operator=() [2/2]

specialization_t& dd4hep::BasicGrammar::specialization_t::operator= ( specialization_t &&  copy)
default

Move assignment.

◆ operator==()

bool dd4hep::BasicGrammar::specialization_t::operator== ( const specialization_t copy) const

Equality operator.

Definition at line 95 of file Grammar.cpp.

Member Data Documentation

◆ bind

void(* dd4hep::BasicGrammar::specialization_t::bind) (void *pointer)=0

Bind opaque address to object.

Definition at line 76 of file Grammar.h.

◆ cast

const Cast* dd4hep::BasicGrammar::specialization_t::cast = 0

Ponter to ABI Cast structure.

Definition at line 74 of file Grammar.h.

◆ copy

void(* dd4hep::BasicGrammar::specialization_t::copy) (void *to, const void *from)=0

Opaque copy constructor.

Definition at line 78 of file Grammar.h.

◆ eval

int(* dd4hep::BasicGrammar::specialization_t::eval) (const BasicGrammar &gr, void *ptr, const std::string &val)=0

Evaluate string value if possible before calling boost::spirit.

Definition at line 84 of file Grammar.h.

◆ fromString

bool(* dd4hep::BasicGrammar::specialization_t::fromString) (const BasicGrammar &gr, void *ptr, const std::string &value)=0

PropertyGrammar overload: Retrieve value from string.

Definition at line 82 of file Grammar.h.

◆ str

std::string(* dd4hep::BasicGrammar::specialization_t::str) (const BasicGrammar &gr, const void *ptr)=0

PropertyGrammar overload: Serialize a property to a string.

Definition at line 80 of file Grammar.h.


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