1
/***************************************************************************
2
* Copyright (c) YEAR YOUR NAME <Your e-mail address> *
4
* This file is part of the FreeCAD CAx development system. *
6
* This library is free software; you can redistribute it and/or *
7
* modify it under the terms of the GNU Library General Public *
8
* License as published by the Free Software Foundation; either *
9
* version 2 of the License, or (at your option) any later version. *
11
* This library is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU Library General Public License for more details. *
16
* You should have received a copy of the GNU Library General Public *
17
* License along with this library; see the file COPYING.LIB. If not, *
18
* write to the Free Software Foundation, Inc., 59 Temple Place, *
19
* Suite 330, Boston, MA 02111-1307, USA *
21
***************************************************************************/
24
#ifndef BASE_FILETEMPLATE_H
25
#define BASE_FILETEMPLATE_H
27
// Std. configurations
37
/** A test class. A more elaborate class description.
38
* Detaild description with some formating:
40
* bla blablablablablablabl:
42
* #include <Base/Console.h>
43
* Base::Console().Log("Stage: %d",i);
46
* nother blablablablablablablablablabl:
47
* Text before the list
53
* The dot above ends the sub sub item list.
54
* More text for the first sub item
56
* The dot above ends the first sub item.
57
* More text for the first list item
62
* More text in the same paragraph.
64
* More text in a new paragraph.
65
* Also with HTML tags:
69
* <li>mouse move event
70
* <li>mouse click event\n
71
* More info about the click event.
72
* <li>mouse double click event
74
* <li> keyboard events
84
class BaseExport ClassTemplate
90
virtual ~ClassTemplate();
92
int testMe(int a,const char *s);
96
* More detailed enum description.
100
TVal1, /**< enum value TVal1. */
101
TVal2, /**< enum value TVal2. */
102
TVal3 /**< enum value TVal3. */
104
*enumPtr, /**< enum pointer. Details. */
105
enumVar; /**< enum variable. Details. */
108
* A pure virtual member.
110
* @param c1 the first argument.
111
* @param c2 the second argument.
113
virtual void testMeToo(char c1,char c2) = 0;
115
/** @name a group of methods */
118
virtual void one(void)=0;
120
virtual void two(void)=0;
121
/// I am method three
122
virtual void three(void)=0;
133
* a function variable.
136
int (*handler)(int a,int b);
138
std::string something;
143
#endif // BASE_FILETEMPLATE_H