OSDN Git Service

I arranged the explanation of the sample program which dispersed in one place.
authortsntsumi <tsntsumi@users.sourceforge.jp>
Sat, 21 Aug 2010 15:15:22 +0000 (15:15 +0000)
committertsntsumi <tsntsumi@users.sourceforge.jp>
Sat, 21 Aug 2010 15:15:22 +0000 (15:15 +0000)
doc/cookbook.dox
doc/mainpage.dox

index 135ab3b..cf0c172 100644 (file)
@@ -90,7 +90,7 @@ which is the sum of the values of two complex numbers,
 write (This sample program is in the @c examples/complex directory):
 @~japanese
 Î㤨¤Ð¡¢´Êñ¤ÊÊ£ÁÇ¿ô¤Î¥é¥¤¥Ö¥é¥ê¤ò¥Æ¥¹¥È¤¹¤ë¤³¤È¤òÎã¤Ë¤È¤Ã¤Æ¤ß¤Þ¤·¤ç¤¦¡£
-¡Ê¤³¤³¤Ç»ÈÍѤ¹¤ë@ref sample_programs ¤Ï
+¡Ê¤³¤³¤Ç»ÈÍѤ¹¤ë@ref sample_programs¤Ï
 examples/complex ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£¡Ë
 Ê£ÁÇ¿ô¤ò½é´ü²½¤¹¤ë¤³¤È¤¬¤Ç¤­¤¿¤«¤ò¥Æ¥¹¥È¤·¤¿¤ê¡¢
 Æó¤Ä¤ÎÊ£ÁÇ¿ô¤¬Åù¤·¤¤¤«¤ò¥Æ¥¹¥È¤¹¤ë¤È¤·¤Þ¤¹¡£
@@ -913,28 +913,6 @@ The sample program made in the above is in the @c examples/complex directory.
 °Ê¾å¤ÇºîÀ®¤·¤¿¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤Ï @c examples/complex ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£
 @endif
 
-- complex - @~english some complex number library test cases
-  @~japanese Ê£ÁÇ¿ô¤ò·×»»¤¹¤ë¥é¥¤¥Ö¥é¥ê¤È¤½¤Î¥Æ¥¹¥È¥±¡¼¥¹¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-  - libcomplex.a - complex number library
-    - complex.c
-    - complex.h
-  - runTestCase @~japanese - ¤â¤Ã¤È¤âñ½ã¤Ê¥Æ¥¹¥È¥±¡¼¥¹¤ò¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestCase.c - main program
-    - testComplex.c - test cases
-  - runTestCaseRunner @~japanese - ¥Æ¥¹¥È¥±¡¼¥¹¤ò¥Æ¥¹¥È¥é¥ó¥Ê¡¼¤Ç¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestCaseRunner.c - main program
-    - testComplex.c - test cases
-  - runTestCaseSetup @~japanese - ¥»¥Ã¥È¥¢¥Ã¥×´Ø¿ô¤ò¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestCaseSetup.c - main program
-    - testComplexSetup.c - test cases
-  - runTestSuite @~japanese - ¥Æ¥¹¥È¥¹¡¼¥Ä¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestSuite.c - main program
-    - testComplexSetup.c - test cases
-    - testComplexArith.c - test cases
-  - runTestSuiteAuto @~japanese - ¥Æ¥¹¥È¥¹¡¼¥Ä¤ò¼«Æ°À¸À®¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTest.c - main program
-    - testComplexSetup.c - test cases
-    - testComplexArith.c - test cases
-    - suiteTestComplex.c - auto generated test suite.
+@copydetails examples
 
 */
index f8318f2..cc5dba2 100644 (file)
@@ -77,34 +77,12 @@ you a organized view of %CCUnit modules.
 ¥»¥¯¥·¥ç¥ó¤Ï CCUnit ¤Î¥â¥¸¥å¡¼¥ë¤òÀ°Íý¤·¤Æɽ¼¨¤·¤Æ¤¤¤Þ¤¹¡£
 @~
 
-@~english
-You find additional samples in the examples directory.
-@~japanese
-examples ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£
+@english
+@section _sample_codes Sample Codes
+@japanese
+@section _sample_codes ¥µ¥ó¥×¥ë¥³¡¼¥É
 
-- complex - @~english some complex number library test cases
-  @~japanese Ê£ÁÇ¿ô¤ò·×»»¤¹¤ë¥é¥¤¥Ö¥é¥ê¤È¤½¤Î¥Æ¥¹¥È¥±¡¼¥¹¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-  - libcomplex.a - complex number library
-    - complex.c
-    - complex.h
-  - runTestCase @~japanese - ¤â¤Ã¤È¤âñ½ã¤Ê¥Æ¥¹¥È¥±¡¼¥¹¤ò¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestCase.c - main program
-    - testComplex.c - test cases
-  - runTestCaseSetup @~japanese - ¥Æ¥¹¥È¥±¡¼¥¹¤Î½é´ü²½´Ø¿ô¤ò¼«Æ°¸Æ¤Ó½Ð¤·¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestCase.c - main program
-    - testComplexSetup.c - test cases
-  - runTestSuite @~japanese - ¥Æ¥¹¥È¥¹¡¼¥Ä¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestSuite.c - main program
-    - testComplexSetup.c - test cases
-    - testComplexArith.c - test cases
-  - runTestSuiteAuto @~japanese - ¥Æ¥¹¥È¥¹¡¼¥Ä¤ò¼«Æ°À¸À®¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestSuite.c - main program
-    - testComplexSetup.c - test cases
-    - suiteTestComplex.c - auto generated test suite from testComplexSetup.c
-  - runTestRunner @~japanese - ¥Æ¥¹¥È¥¹¡¼¥Ä¤ò¥Æ¥¹¥È¥é¥ó¥Ê¡¼¤Ç¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
-    - runTestRunner.c - main program
-    - testComplexSetup.c - test cases
-    - suiteTestComplex.c - auto generated test suite from testComplexSetup.c
+@copydoc examples
 
 @english
 @section _documentation Documentation
@@ -298,3 +276,33 @@ digraph CCUnitTestStructure {
  * @defgroup ModuleHierarchy ¥â¥¸¥å¡¼¥ë³¬ÁØ
  * @endif
  */
+
+/**
+ * @defgroup examples Sample Codes
+ * @brief @~english You find additional samples in the examples directory.
+ * @~japanese examples ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£@~
+ * 
+ * - complex - @~english some complex number library test cases
+ *   @~japanese Ê£ÁÇ¿ô¤ò·×»»¤¹¤ë¥é¥¤¥Ö¥é¥ê¤È¤½¤Î¥Æ¥¹¥È¥±¡¼¥¹¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
+ *   - libcomplex.a - complex number library
+ *     - complex.c
+ *     - complex.h
+ *   - runTestCase @~japanese - ¤â¤Ã¤È¤âñ½ã¤Ê¥Æ¥¹¥È¥±¡¼¥¹¤ò¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
+ *     - runTestCase.c - main program
+ *     - testComplex.c - test cases
+ *   - runTestCaseRunner @~japanese - ¥Æ¥¹¥È¥±¡¼¥¹¤ò¥Æ¥¹¥È¥é¥ó¥Ê¡¼¤Ç¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
+ *     - runTestCaseRunner.c - main program
+ *     - testComplex.c - test cases
+ *   - runTestCaseSetup @~japanese - ¥»¥Ã¥È¥¢¥Ã¥×´Ø¿ô¤ò¼Â¹Ô¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
+ *     - runTestCaseSetup.c - main program
+ *     - testComplexSetup.c - test cases
+ *   - runTestSuite @~japanese - ¥Æ¥¹¥È¥¹¡¼¥Ä¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
+ *     - runTestSuite.c - main program
+ *     - testComplexSetup.c - test cases
+ *     - testComplexArith.c - test cases
+ *   - runTestSuiteAuto @~japanese - ¥Æ¥¹¥È¥¹¡¼¥Ä¤ò¼«Æ°À¸À®¤¹¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£@~
+ *     - runTest.c - main program
+ *     - testComplexSetup.c - test cases
+ *     - testComplexArith.c - test cases
+ *     - suiteTestComplex.c - auto generated test suite.
+ */