//$Header: /afs/cern.ch/sw/Gaudi/Package/ClassName.cpp,v 1.31 2000/11/19 16:23:02 author Exp $ // Include files #include "Package/ClassName.h" #include #include #include // method1 (the description will be taken from the .h file) void ClassName::method1() { // Implementation of method1. In order to not take unnecessary width // we should use 2 spaces for each identation. if ( bla & bla ) { for ( i = 0; i < n; i++ ) { // do something useful here ... } } } // method2 int ClassName::method2( Type1 argument1, Type2 argument2 ) { int i; float f; for ( i = 0; i < 1000; i++ ) { // something here } return i; } // method3 StatusCode ClassName::method3() { return StatusCode::SUCCESS; }