1%%%%%%%%%%%%%%%%%%%
2% XLiFE++ is an extended library of finite elements written in C++
3%     Copyright (C) 2014  Lunéville, Eric; Kielbasiewicz, Nicolas; Lafranche, Yvon; Nguyen, Manh-Ha; Chambeyron, Colin
4%
5%     This program is free software: you can redistribute it and/or modify
6%     it under the terms of the GNU General Public License as published by
7%     the Free Software Foundation, either version 3 of the License, or
8%     (at your option) any later version.
9%     This program is distributed in the hope that it will be useful,
10%     but WITHOUT ANY WARRANTY; without even the implied warranty of
11%     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12%     GNU General Public License for more details.
13%     You should have received a copy of the GNU General Public License
14%     along with this program.  If not, see <http://www.gnu.org/licenses/>.
15%%%%%%%%%%%%%%%%%%%
16
17\section{The {\classtitle TermVectors} class}
18
19The {\class TermVectors} is simply an encapsulation of a list of {\class TermVector}. It implements a small interface to {\cmd std::vector<TermVector>} and it is adressed to beginners.
20\vspace{.1cm}
21\begin{lstlisting}[]{}
22class TermVectors: public std::vector<TermVector>
23{
24  public :
25  TermVectors(Number n=0);
26  TermVectors(const std::vector<TermVector>& vs);
27  const TermVector& operator()(Number n) const;
28  TermVector& operator()(Number n);
29  void print(std::ostream&) const;
30};
31std::ostream& operator<<(std::ostream&, const TermVectors&);
32\end{lstlisting}
33\vspace{.3cm}
34\displayInfos{
35library=term,
36header=TermVector.hpp,
37implementation=TermVector.cpp,
38test=test\_TermVector.cpp,
39header dep={Term.hpp, LcTerm.hpp, termUtils.hpp, form.h, config.h, utils.h}
40}