LifeV
ExampleClass.hpp
Go to the documentation of this file.
1 //@HEADER
2 /*
3 *******************************************************************************
4 
5  Copyright (C) 2004, 2005, 2007 EPFL, Politecnico di Milano, INRIA
6  Copyright (C) 2010 EPFL, Politecnico di Milano, Emory University
7 
8  This file is part of LifeV.
9 
10  LifeV is free software; you can redistribute it and/or modify
11  it under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  LifeV is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with LifeV. If not, see <http://www.gnu.org/licenses/>.
22 
23 *******************************************************************************
24 */
25 //@HEADER
26 
27 /*!
28  @file
29  @brief A short description of the file content
30 
31  @author Name Surname <name.surname@email.org>
32  @contributor Name Surname <name.surname@email.org>
33  @maintainer Name Surname <name.surname@email.org>
34 
35  @date 00-00-0000
36 
37  A more detailed description of the file (if necessary)
38  */
39 
40 #ifndef EXAMPLECLASS_H
41 #define EXAMPLECLASS_H 1
42 
43 #include <lifev/core/LifeV.hpp>
44 
45 namespace LifeV
46 {
47 
48 //! ExampleClass - Short description of the class
49 /*!
50  @author Name Surname
51  @see Reference to papers (if available)
52 
53  Here write a long and detailed description of the class.
54 
55  For this purpose you can use a lot of standard HTML code.
56  Here there is a list with some useful examples:
57 
58  For bold text use: <b>BOLD TEXT</b>
59 
60  For empatyze a word type @e followed by the word
61 
62  For verbatim a word type @c followed by the word
63 
64  For vertical space (empty lines) use: <br>
65 
66  For creating list type:
67  <ol>
68  <li> First element of the enumerated list
69  <ul>
70  <li> First element of the dotted sublist.
71  <li> Second element of the dotted sublist
72  </ul>
73  <li> Second element of the enumerated list
74  <li> Third element of the enumerated list
75  </ol>
76 
77  For writing a warning type: @warning followed by the description
78  of the warning
79 
80  It is possible to use a lot of other standard HTML commands.
81  Visit http://www.stack.nl/~dimitri/doxygen/htmlcmds.html for
82  a detailed list.
83 
84  For any other kind of information visit www.doxygen.org.
85  */
87 {
88 public:
89 
90  //! @name Public Types
91  //@{
92 
93  /*! @enum listOfTemplatesOptions
94  Description of the purpose of the enumerator list.
95  */
97  {
98  options1, /*!< This options means ... */
99  options2, /*!< This options means ... */
100  options3 /*!< This options means ... */
101  };
102 
103  typedef int first_Type;
104  typedef double second_Type;
105 
106  //@}
107 
108 
109  //! @name Constructors & Destructor
110  //@{
111 
112  //! Empty Constructor
113  ExampleClass();
114 
115  //! Short description of the constructor
116  /*!
117  Add more details about the constructor.
118  NOTE: short description is automatically added before this part.
119  @param VariableOne Description of the first variable
120  @param VariableTwo Description of the second variable
121  */
122  ExampleClass ( first_Type& VariableOne, second_Type& VariableTwo );
123 
124  //! Copy constructor
125  /*!
126  Add more details about the copy constructor.
127  NOTE: short description is automatically added before this part.
128  @param example ExampleClass
129  */
130  ExampleClass ( const ExampleClass& example );
131 
132  //! Destructor
133  ~ExampleClass();
134 
135  //@}
136 
137 
138  //! @name Operators
139  //@{
140 
141  //! The equivalence operator
142  /*!
143  Add more details about the method.
144  NOTE: short description is automatically added before this part.
145  @param example ExampleClass
146  @return Reference to a new ExampleClass with the same
147  content of ExampleClass example
148  */
149  ExampleClass& operator= ( const ExampleClass& example );
150 
151  //@}
152 
153 
154  //! @name Methods
155  //@{
156 
157  //! Short description of this method
158  /*!
159  Add more details about the method.
160  NOTE: short description is automatically added before this part.
161  @param inputVariableOne Description of the first input variable
162  @param inputVariableTwo Description of the second input variable
163  */
164  void methodOne ( first_Type& inputVariableOne, second_Type& inputVariableTwo );
165 
166  //! Short description of this method
167  /*!
168  Add more details about the method.
169  NOTE: short description is automatically added before this part.
170  */
171  void methodTwo();
172 
173  //! Display general information about the content of the class
174  /*!
175  List of things displayed in the class
176  @param output specify the output format (std::cout by default)
177  */
178  void showMe ( std::ostream& output = std::cout ) const;
179 
180  //@}
181 
182 
183  //! @name Set Methods
184  //@{
185 
186  //! Short description of this set method
187  /*!
188  Add more details about the method.
189  NOTE: short description is automatically added before this part.
190  @param variableOne Description of the input variable
191  */
192  void setVariableOne ( const first_Type& variableOne );
193 
194  //@}
195 
196 
197  //! @name Get Methods
198  //@{
199 
200  //! Short description of this get method
201  /*!
202  Add more details about the method.
203  NOTE: short description is automatically added before this part.
204  @return Description of the output variable
205  */
206  const first_Type& variableOne() const;
207 
208  //@}
209 
210 private:
211 
212  //! @name Private Methods
213  //@{
214 
215  //! Short description of this method
216  /*!
217  Add more details about the method.
218  NOTE: short description is automatically added before this part.
219  */
220  void privateMethodOne();
221 
222  //@}
223 
226 };
227 
228 } // Namespace LifeV
229 
230 #endif /* EXAMPLECLASS_H */
first_Type M_variableOne
ExampleClass(const ExampleClass &example)
Copy constructor.
void methodOne(first_Type &inputVariableOne, second_Type &inputVariableTwo)
Short description of this method.
ExampleClass & operator=(const ExampleClass &example)
The equivalence operator.
void updateInverseJacobian(const UInt &iQuadPt)
void methodTwo()
Short description of this method.
const first_Type & variableOne() const
Short description of this get method.
ExampleClass(first_Type &VariableOne, second_Type &VariableTwo)
Short description of the constructor.
void privateMethodOne()
Short description of this method.
void showMe(std::ostream &output=std::cout) const
Display general information about the content of the class.
ExampleClass()
Empty Constructor.
second_Type M_variableTwo
~ExampleClass()
Destructor.
ExampleClass - Short description of the class.
void setVariableOne(const first_Type &variableOne)
Short description of this set method.