Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cpp.ast.Type Class Reference
+ Inheritance diagram for cpp.ast.Type:
+ Collaboration diagram for cpp.ast.Type:

Public Member Functions

def __init__
 
def __str__
 
def IsDeclaration
 
def IsDefinition
 
def IsExportable
 
- Public Member Functions inherited from cpp.ast._GenericDeclaration
def __init__
 
def FullName
 
- Public Member Functions inherited from cpp.ast.Node
def __init__
 
def IsDeclaration
 
def IsDefinition
 
def IsExportable
 
def Requires
 
def XXX__str__
 
def __repr__
 

Public Attributes

 templated_types
 
 name
 
 modifiers
 
 reference
 
 pointer
 
 array
 
- Public Attributes inherited from cpp.ast._GenericDeclaration
 name
 
 namespace
 
- Public Attributes inherited from cpp.ast.Node
 start
 
 end
 

Detailed Description

Type used for any variable (eg class, primitive, struct, etc).

Definition at line 409 of file ast.py.

View newest version in sPHENIX GitHub at line 409 of file ast.py

Constructor & Destructor Documentation

def cpp.ast.Type.__init__ (   self,
  start,
  end,
  name,
  templated_types,
  modifiers,
  reference,
  pointer,
  array 
)
Args:
  name: str name of main type
  templated_types: [Class (Type?)] template type info between <>
  modifiers: [str] type modifiers (keywords) eg, const, mutable, etc.
  reference, pointer, array: bools

Definition at line 413 of file ast.py.

View newest version in sPHENIX GitHub at line 413 of file ast.py

Member Function Documentation

def cpp.ast.Type.__str__ (   self)

Definition at line 430 of file ast.py.

View newest version in sPHENIX GitHub at line 430 of file ast.py

References cpp.ast._GenericDeclaration._TypeStringHelper(), cpp.ast.Type.array, join(), cpp.ast.Function.modifiers, cpp.ast.Type.modifiers, lin_res.name, sinfo.name, Acts::ParticleData.name, Object.name, ActsExamples::VolumeAssociationTest::Config.name, Acts::Experimental::MultiWireStructureBuilder::Config.name, Fatras::Test::Object.name, Acts::Experimental::DetectorBuilder::Config.name, Acts::Experimental::DetectorVolumeBuilder::Config.name, Acts::Svg::LayerConverter::Options.name, PHNode.name, Acts::Cuda::Info::Device.name, ActsExamples::MockupSectorBuilder::ChamberConfig.name, Acts::Experimental::DD4hepVolumeStructure::Options.name, ActsExamples::Geant4::Geant4Detector::Config.name, Acts::Experimental::DD4hepLayerStructure::Options.name, ActsExamples::DD4hep::DD4hepGeometryService::Config.name, PHG4Sector::Layer.name, Acts::ProtoVolume.name, Acts::Experimental::Blueprint::Node.name, rootfile.name, intt_pool.name, prdffile.name, Region.name, Acts::CuboidVolumeBuilder::VolumeConfig.name, Acts::Test::PlyElement.name, Acts::FiniteStateMachine< Derived, States >::Terminated.name, ActsExamples::TGeoDetector::Config::Volume.name, Acts::ProtoDetector.name, cpp.ast.Define.name, cpp.ast.Parameter.name, cpp.ast._GenericDeclaration.name, cpp.ast.Type.pointer, ResidualAccessor.reference, cpp.ast.Type.reference, str, cpp.ast.Class.templated_types, cpp.ast.Function.templated_types, and cpp.ast.Type.templated_types.

+ Here is the call graph for this function:

def cpp.ast.Type.IsDeclaration (   self)

Definition at line 448 of file ast.py.

View newest version in sPHENIX GitHub at line 448 of file ast.py

def cpp.ast.Type.IsDefinition (   self)

Definition at line 451 of file ast.py.

View newest version in sPHENIX GitHub at line 451 of file ast.py

def cpp.ast.Type.IsExportable (   self)

Definition at line 454 of file ast.py.

View newest version in sPHENIX GitHub at line 454 of file ast.py

Member Data Documentation

cpp.ast.Type.array

Definition at line 428 of file ast.py.

View newest version in sPHENIX GitHub at line 428 of file ast.py

Referenced by cpp.ast.Type.__str__().

cpp.ast.Type.modifiers

Definition at line 425 of file ast.py.

View newest version in sPHENIX GitHub at line 425 of file ast.py

Referenced by cpp.ast.Type.__str__().

cpp.ast.Type.name

Definition at line 424 of file ast.py.

View newest version in sPHENIX GitHub at line 424 of file ast.py

Referenced by cpp.tokenize.Token.__str__().

cpp.ast.Type.pointer

Definition at line 427 of file ast.py.

View newest version in sPHENIX GitHub at line 427 of file ast.py

Referenced by cpp.ast.Type.__str__().

cpp.ast.Type.reference

Definition at line 426 of file ast.py.

View newest version in sPHENIX GitHub at line 426 of file ast.py

Referenced by cpp.ast.Type.__str__().

cpp.ast.Type.templated_types

Definition at line 422 of file ast.py.

View newest version in sPHENIX GitHub at line 422 of file ast.py

Referenced by cpp.ast.Type.__str__().


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