Gaudi Framework

Generated: 22 Nov 2000

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ClassName.cpp

Go to the documentation of this file.
00001 //$Header: /afs/cern.ch/sw/Gaudi/Package/ClassName.cpp,v 1.31 2000/11/19 16:23:02 author Exp $
00002 
00003 // Include files
00004 #include "Package/ClassName.h"
00005 #include <string>
00006 #include <list>
00007 #include <map>
00008 
00009 
00010 // method1 (the description will be taken from the .h file)
00011 void ClassName::method1()

00012 {
00013   // Implementation of method1. In order to not take unnecessary width
00014   // we should use 2 spaces for each identation.
00015   if ( bla & bla ) {
00016     for ( i = 0; i < n; i++ ) {
00017       // do something useful here
00018       ...
00019     }
00020   }  
00021 }
00022 
00023 // method2
00024 int ClassName::method2( Type1 argument1, Type2 argument2 ) 

00025 {
00026   int i;
00027   float f;
00028   for ( i = 0; i < 1000; i++ ) {
00029     // something here
00030   }
00031   return i;
00032 }
00033   
00034 // method3
00035 StatusCode ClassName::method3() 

00036 {
00037   return StatusCode::SUCCESS;
00038 }
00039 

Generated at Wed Nov 22 17:50:11 2000 for Gaudi Framework by Doxygen version 1.2.3 written by Dimitri van Heesch, © 1997-2000