CVR-Lib last update 20 Sep 2009

cvrNaming.h

00001 /*
00002  * Copyright (C) 1998-2006
00003  * Lehrstuhl fuer Technische Informatik, RWTH-Aachen, Germany
00004  *
00005  *
00006  * This file is part of the Computer Vision and Robotics Library (CVR-Lib)
00007  *
00008  * The CVR-Lib is free software; you can redistribute it and/or
00009  * modify it under the terms of the BSD License.
00010  *
00011  * All rights reserved.
00012  *
00013  * Redistribution and use in source and binary forms, with or without
00014  * modification, are permitted provided that the following conditions are met:
00015  *
00016  * 1. Redistributions of source code must retain the above copyright notice,
00017  *    this list of conditions and the following disclaimer.
00018  *
00019  * 2. Redistributions in binary form must reproduce the above copyright notice,
00020  *    this list of conditions and the following disclaimer in the documentation
00021  *    and/or other materials provided with the distribution.
00022  *
00023  * 3. Neither the name of the authors nor the names of its contributors may be
00024  *    used to endorse or promote products derived from this software without
00025  *    specific prior written permission.
00026  *
00027  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00028  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00029  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00030  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00031  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00032  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00033  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00034  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00035  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00036  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00037  * POSSIBILITY OF SUCH DAMAGE.
00038  */
00039 
00040 
00041 #ifndef _CVR_NAMING
00042 #define _CVR_NAMING
00043 
00044 /**
00045 
00046 \page naming Naming Conventions in the CVR-Lib.
00047 
00048 <table>
00049 <tr><td><b>C++ Item</b></td>          <td><b>Name convention</b></td></tr>
00050 <tr><td>class, struct, union</td>     <td>theClassName</td></tr>
00051 <tr><td>inner&nbsp;type</td>          <td>inner<b>_</b>type</td></tr>
00052 <tr><td>public&nbsp;attribute</td>    <td>publicAttribute</td></tr>
00053 <tr><td>protected&nbsp;attribute</td> <td>protectedAttribute<b>_</b></td></tr>
00054 <tr><td>private&nbsp;attribute</td>   <td>privateAttribute<b>_</b></td></tr>
00055 <tr><td>class&nbsp;method</td>        <td>classMethod()</td></tr>
00056 <tr><td>public method<br>
00057         to access inner attributes</td><td><b>get</b>ClassAttribute()<br>
00058                                                 classAttribute()</td></tr>
00059 <tr><td>public method<br>
00060         for complex computations</td> <td><b>seek</b>Something()<br>
00061                                           <b>search</b>Something()<br>
00062                                           <b>find</b>Something()<br>
00063                                           <b>compute</b>Something()<br>
00064                                           <b>generate</b>Something()<br>
00065                                           <b>calculate</b>Something()</td></tr>
00066 <tr><td>enum</td>                     <td><b>e</b>EnumType</td></tr>
00067 <tr><td>constant in enum</td>         <td><b>C</b>onstantInEnum</td></tr>
00068 <tr><td>macro name</td>               <td><b>_CVR_</b>MACRO_NAME</td></tr>
00069 </table>
00070 
00071 */
00072 
00073 #endif
00074 

Generated on Sun Sep 20 22:08:00 2009 for CVR-Lib by Doxygen 1.5.8