The Gaudi Framework  v40r0 (475e45c1)
GaudiConfig2.semantics.StringSemantics Class Reference
Inheritance diagram for GaudiConfig2.semantics.StringSemantics:
Collaboration diagram for GaudiConfig2.semantics.StringSemantics:

Public Member Functions

def store (self, value)
 
- Public Member Functions inherited from GaudiConfig2.semantics.PropertySemantics
def __init__ (self, cpp_type)
 
def name (self)
 
def name (self, value)
 
def cpp_type (self)
 
def cpp_type (self, value)
 
def load (self, value)
 
def is_set (self, value)
 
def opt_value (self, value)
 
def merge (self, a, b)
 

Static Private Attributes

 __handled_types__
 

Additional Inherited Members

- Public Attributes inherited from GaudiConfig2.semantics.PropertySemantics
 cpp_type
 

Detailed Description

Definition at line 132 of file semantics.py.

Member Function Documentation

◆ store()

def GaudiConfig2.semantics.StringSemantics.store (   self,
  value 
)
Validation/transformation of the data to be stored.

Reimplemented from GaudiConfig2.semantics.PropertySemantics.

Definition at line 135 of file semantics.py.

135  def store(self, value):
136  if not isinstance(value, str):
137  raise TypeError("cannot set property {} to {!r}".format(self.name, value))
138  return value
139 
140 

Member Data Documentation

◆ __handled_types__

GaudiConfig2.semantics.StringSemantics.__handled_types__
staticprivate

Definition at line 133 of file semantics.py.


The documentation for this class was generated from the following file:
format
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition: MsgStream.cpp:99