The Gaudi Framework  master (37c0b60a)
precedence Namespace Reference

Classes

struct  AlgoProps
 
struct  AlgoTraceProps
 
struct  AllPass
 
struct  CFDecision
 
struct  CondDataProps
 
class  CruncherSequence
 
struct  DataProps
 
struct  DecisionHubProps
 
struct  DecisionNegation
 
struct  Duration
 
struct  EndTime
 
struct  EntityState
 
struct  GroupExit
 
struct  GroupLogic
 
struct  GroupMode
 
struct  Operations
 
class  RealTimeValue
 
class  RndBiasedBooleanValue
 
struct  StartTime
 
class  UniformBooleanValue
 
class  UniformTimeValue
 
struct  VertexName
 

Typedefs

using PrecTrace = boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, AlgoTraceProps >
 
using AlgoTraceVertex = boost::graph_traits< PrecTrace >::vertex_descriptor
 
using VariantVertexProps = std::variant< AlgoProps, DecisionHubProps, DataProps, CondDataProps >
 
using PRGraph = boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, VariantVertexProps >
 
using PRVertexDesc = boost::graph_traits< PRGraph >::vertex_descriptor
 

Functions

def _buildFilePath (filePath)
 

Variables

 message
 
 category
 

Typedef Documentation

◆ AlgoTraceVertex

using precedence.AlgoTraceVertex = typedef boost::graph_traits<PrecTrace>::vertex_descriptor

Definition at line 63 of file PrecedenceRulesGraph.h.

◆ PrecTrace

using precedence.PrecTrace = typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, AlgoTraceProps>

Definition at line 62 of file PrecedenceRulesGraph.h.

◆ PRGraph

using precedence.PRGraph = typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, VariantVertexProps>

Definition at line 391 of file PrecedenceRulesGraph.h.

◆ PRVertexDesc

using precedence.PRVertexDesc = typedef boost::graph_traits<PRGraph>::vertex_descriptor

Definition at line 392 of file PrecedenceRulesGraph.h.

◆ VariantVertexProps

Definition at line 390 of file PrecedenceRulesGraph.h.

Function Documentation

◆ _buildFilePath()

def precedence._buildFilePath (   filePath)
private

Definition at line 27 of file precedence.py.

27 def _buildFilePath(filePath):
28  if not os.path.exists(filePath):
29  __fullFilePath__ = os.path.realpath(
30  os.path.join(
31  os.environ.get("ENV_PROJECT_SOURCE_DIR", ""),
32  "GaudiHive",
33  "data",
34  filePath,
35  )
36  )
37  if not os.path.exists(__fullFilePath__):
38  __fullFilePath__ = os.path.realpath(
39  os.path.join(
40  os.environ.get("ENV_PROJECT_SOURCE_DIR", ""),
41  "Gaudi",
42  "GaudiHive",
43  "data",
44  filePath,
45  )
46  )
47  if not os.path.exists(__fullFilePath__):
48  print(
49  "\nERROR: invalid file path '%s'. "
50  "It must be either absolute, or relative to "
51  "'$ENV_PROJECT_SOURCE_DIR/GaudiHive/data/' or to "
52  "'$ENV_PROJECT_SOURCE_DIR/Gaudi/GaudiHive/data/'." % filePath
53  )
54  sys.exit(1)
55  else:
56  __fullFilePath__ = filePath
57 
58  return __fullFilePath__
59 
60 

Variable Documentation

◆ category

precedence.category

Definition at line 19 of file precedence.py.

◆ message

precedence.message

Definition at line 19 of file precedence.py.

precedence._buildFilePath
def _buildFilePath(filePath)
Definition: precedence.py:27