Geant4.10
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4ViewerList Class Reference

#include <G4ViewerList.hh>

Inheritance diagram for G4ViewerList:

Public Member Functions

void remove (G4VViewer *)
 

Detailed Description

Definition at line 38 of file G4ViewerList.hh.

Member Function Documentation

void G4ViewerList::remove ( G4VViewer viewer)

Definition at line 31 of file G4ViewerList.cc.

Referenced by G4VSceneHandler::RemoveViewerFromList().

31  {
32  G4ViewerListIterator iViewer;
33  for (iViewer = begin(); iViewer != end(); ++iViewer) {
34  if (*iViewer == viewer) break;
35  }
36  if (iViewer != end()) erase(iViewer);
37 }
std::vector< G4VViewer * >::iterator G4ViewerListIterator
Definition: G4ViewerList.hh:43

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