58 return (
this==&right);
68 const std::map<G4String,G4AttDef>* attDefs =
GetAttDefs();
71 if (
G4AttCheck(attValues,attDefs).Check(
"G4VTrajectory::ShowTrajectory")) {
77 std::vector<G4AttValue>::iterator iAttVal;
78 for (iAttVal = attValues->begin();
79 iAttVal != attValues->end(); ++iAttVal) {
80 std::map<G4String,G4AttDef>::const_iterator iAttDef =
81 attDefs->find(iAttVal->GetName());
82 os <<
"\n " << iAttDef->second.GetDesc()
83 <<
" (" << iAttVal->GetName()
84 <<
"): " << iAttVal->GetValue();
97 if (
G4AttCheck(attValues,attDefs).Check(
"G4VTrajectory::ShowTrajectory")) {
101 for (iAttVal = attValues->begin();
102 iAttVal != attValues->end(); ++iAttVal) {
103 std::map<G4String,G4AttDef>::const_iterator iAttDef =
104 attDefs->find(iAttVal->GetName());
105 os <<
"\n " << iAttDef->second.GetDesc()
106 <<
" (" << iAttVal->GetName()
107 <<
"): " << iAttVal->GetValue();
129 static G4bool warnedAboutIMode =
false;
130 if (!warnedAboutIMode && i_mode != 0) {
132 (
"G4VTrajectory::DrawTrajectory()",
134 "DEPRECATED! The use of i_mode argument in DrawTrajectory()"
135 "\n is deprecated and will be removed at the next major release.");
136 warnedAboutIMode =
true;
139 if (0 != pVVisManager) {
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual G4VTrajectoryPoint * GetPoint(G4int i) const =0
virtual void ShowTrajectory(std::ostream &os=G4cout) const
virtual int GetPointEntries() const =0
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual void DrawTrajectory(G4int i_mode=0) const
G4bool operator==(const G4VTrajectory &right) const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual void DispatchToModel(const G4VTrajectory &)=0
static G4VVisManager * GetConcreteInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)