Ignore:
Timestamp:
09/24/08 23:00:05 (4 years ago)
Author:
tholt
Message:

documentation polishing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/avango-doc/src/styleguide.dox

    r1 r2  
    33/************************************************************************\ 
    44*                                                                        * 
    5 *  Avango Software, Copyright 2001 - 2007 Fraunhofer Gesellschaft        * 
    6 *  zur Foerderung der angewandten Forschung (FhG), Munich, Germany.      * 
    7 *                                                                        * 
    8 *  Avango Software (both binary and source code - if released) is        * 
    9 *  intellectual property owned by FhG and copyrighted by FhG worldwide.  * 
    10 *                                                                        * 
    11 *  Avango is a trademark owned by FhG.                                   * 
     5* This file is part of Avango.                                           * 
     6*                                                                        * 
     7* Copyright 1997 - 2008 Fraunhofer-Gesellschaft zur Foerderung der       * 
     8* angewandten Forschung (FhG), Munich, Germany.                          * 
     9*                                                                        * 
     10* Avango is free software: you can redistribute it and/or modify         * 
     11* it under the terms of the GNU Lesser General Public License as         * 
     12* published by the Free Software Foundation, version 3.                  * 
     13*                                                                        * 
     14* Avango is distributed in the hope that it will be useful,              * 
     15* but WITHOUT ANY WARRANTY; without even the implied warranty of         * 
     16* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the           * 
     17* GNU General Public License for more details.                           * 
     18*                                                                        * 
     19* You should have received a copy of the GNU Lesser General Public       * 
     20* License along with Avango. If not, see <http://www.gnu.org/licenses/>. * 
     21*                                                                        * 
     22* Avango is a trademark owned by FhG.                                    * 
    1223*                                                                        * 
    1324\************************************************************************/ 
     
    3041 
    3142\section objectives Objectives 
    32 The goal of this guide is to provide standard rules for Avango C++ 
     43The goal of this guide is to provide standard rules for AVANGO C++ 
    3344developers which help to maintain a uniform coding style. This not only 
    3445supports easier understanding but should ideally help to produce less 
     
    3849We start with a general overview over source code layout and naming 
    3950issues before going into the details and providing a minimal template as 
    40 a starting point for your Avango modules. 
     51a starting point for your AVANGO modules. 
    4152 
    4253\section overall Overall Format 
     
    5970- Function names have the format: \c word1Word2...(); 
    6071- Function arguments have the format: \c word1Word2... 
    61 - Avango Fields have the format: <tt>(S|M)[A]FType Word1Word2...;</tt> 
     72- AVANGO Fields have the format: <tt>(S|M)[A]FType Word1Word2...;</tt> 
    6273- Other instance members have the format: \c mWord1Word2... 
    6374- Static members have the format: \c sWord1Word2... 
     
    159170 
    160171\section writetests Write tests 
    161 Write self-contained tests for your modules using the Avango UnitTest++ infrastructure. 
     172Write self-contained tests for your modules using the AVANGO UnitTest++ infrastructure. 
    162173Link the tests against the final library instead of the separate convenience libraries 
    163174(e.g. don't use libfields.la but libavango.la). This way we don't run into trouble when 
     
    228239% svn propset svn:mime-type "application/pdf" some.pdf 
    229240\endverbatim 
    230 - Use \c Id keyword substitution for all user-generated text-type files, 
    231   e.g. 
    232 \verbatim 
    233 % svn propset svn:keywords "Id" Makefile.am 
    234 \endverbatim 
    235241- Auto-props are used to set properties on newly added files based on 
    236242  their filenames. Functionality can be configured by setting options in 
     
    242248 
    243249[auto-props] 
    244 *.c = svn:eol-style=native ; svn:keywords=Id 
    245 *.cpp = svn:eol-style=native; svn:keywords=Id 
    246 *.h = svn:eol-style=native; svn:keywords=Id 
    247 *.html = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/html 
    248 *.m4 = svn:eol-style=native; svn:keywords=Id 
     250*.c = svn:eol-style=native 
     251*.c++ = svn:eol-style=native 
     252*.cpp = svn:eol-style=native 
     253*.gif = svn:mime-type=image/gif 
     254*.h = svn:eol-style=native 
     255*.html = svn:eol-style=native;svn:mime-type=text/html 
     256*.ico = svn:mime-type=image/x-ico 
     257*.jpg = svn:mime-type=image/jpeg 
     258*.m4 = svn:eol-style=native 
     259*.ml = svn:eol-style=native 
     260*.mli = svn:eol-style=native 
    249261*.pdf = svn:mime-type=application/pdf 
    250 *.scm = svn:eol-style=native; svn:keywords=Id 
    251 *.sgm = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/sgml 
    252 *.sh = svn:eol-style=native; svn:keywords=Id; svn:executable 
    253 Makefile* = svn:eol-style=native; svn:keywords=Id 
     262*.png = svn:mime-type=image/png 
     263*.py = svn:eol-style=native 
     264*.rgb = svn:mime-type=image/x-rgb 
     265*.scm = svn:eol-style=native 
     266*.sln = svn:eol-style=native 
     267*.sgi = svn:mime-type=image/x-sgi 
     268*.sgm = svn:eol-style=native;svn:mime-type=text/sgml 
     269*.sh = svn:eol-style=native;svn:executable 
     270*.tif = svn:mime-type=image/tiff 
     271*.txt = svn:eol-style=native 
     272*.TXT = svn:eol-style=native 
     273bootstrap = svn:eol-style=native;svn:executable 
     274Makefile* = svn:eol-style=native 
     275SConscript = svn:eol-style=native 
     276SConstruct = svn:eol-style=native 
    254277\endverbatim 
    255278 
Note: See TracChangeset for help on using the changeset viewer.