Message: Is there a maximum number of member attributes for detectorConstruction Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Is there a maximum number of member attributes for detectorConstruction 

Keywords: class attributes
Forum: Run Management
Date: 25 Jun, 2007
From: Mario <Mario>

I have a large number of member attributes defined in my XXDetectorConstruction.hh
within the class.  I have 57 attributes of different types: G4Material*, 
G4Box*, G4LogicalVolume,... etc. When I add another attribute to my class, 
it compiles fine, but when the .exe file is ran, it never makes it to the
'Idle>' prompt, there is a Windows window that pops up and says, 

"meshSim.exe has encountered a problem and needs to close.  
We are sorry for the inconvenience."

Button: Send Error Report, Button: Don't Send, Button: Debug

If I remove the last attribute that was added, then it compiles, and
everything runs fine... is there a way to add more attributes for the class
without crashing it?? Thanks for the help!!

Cheers,
Mario

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Is there a maximum number of member attributes for detectorConstruction   (Mario - 25 Jun, 2007)
 Add Message Add Message
to: "Is there a maximum number of member attributes for detectorConstruction"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]