- Timestamp:
- May 28, 2010, 1:33:58 PM (13 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- 210852a2e5dbf436b657d612faeae814d5a1d252
- Parents:
- 34942f9467977bbb6b5facb760ff89744af44034
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-05-28 13:33:58+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:54:58+01:00
- Location:
- templates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
templates/template.cc
r34942f r4c09bb 25 25 int Template::someMethod( int a, int &o ) 26 26 { 27 int b;27 int t = o; 28 28 29 29 // return something 30 o = 2;31 return -1;30 o = a; 31 return t; 32 32 }; -
templates/template.h
r34942f r4c09bb 61 61 int someMethod( 62 62 int a, ///< [in] some int 63 int &o ///< [ out] integer result63 int &o ///< [in,out] integer input and resulting value 64 64 ); 65 65 -
templates/templateForC.h
r34942f r4c09bb 15 15 /*****************************************************************************/ 16 16 17 #ifndef TEMPLATE FORC_H18 #define TEMPLATE FORC_H17 #ifndef TEMPLATE_FOR_C_H 18 #define TEMPLATE_FOR_C_H 19 19 20 20 /** New type name for int. */ … … 32 32 * This is function 1. 33 33 * 34 * @return information about return value 35 * @sa strcpy 36 * 34 37 * The end! 35 38 */ 36 voidF1(39 int F1( 37 40 int a1, /**< [in] some int. 38 41 * aasas. 39 42 * bbbb. 40 43 */ 41 int & r1 /**< [out] integer result */ 44 int & r1 /**< [in,out] integer input and some resulting value */ 42 45 ); 43 46 47 48 44 49 #endif 45 /* TEMPLATE FORC_H */50 /* TEMPLATE_FOR_C_H */
Note: See TracChangeset
for help on using the changeset viewer.