Home | Develop | Download | Contact
Size.hpp
1 /*
2  * Size.hpp
3  *
4  * Copyright 2018 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program 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 General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
32 #ifndef __PDS_SIZE_HPP__
33 #define __PDS_SIZE_HPP__
34 
35 #include <string>
36 
46 namespace Pds{
47 
48 class Matrix;
49 
57 class Size
58 {
59 
60 public:
61 
62  unsigned int nlin;
63  unsigned int ncol;
64 
65 public:
66 
77  Size(void);
78 
86  Size(unsigned int Nlin,unsigned int Ncol);
87 
95  Size(const Pds::Size &B);
96 
97 
98  ~Size();
99 
115  void Print(std::string str="");
116 
122  void PrintStylized(std::string str="");
126 }; // Class Size
127 
128 } // namespace Pds
129 
130 
135 #endif
136 
La clase tipo Pds::Size . Esta clase genera un objeto con dos parametros Nlin y Ncol....
Definition: Size.hpp:58
unsigned int nlin
Definition: Size.hpp:62
unsigned int ncol
Definition: Size.hpp:63
void Print(std::string str="")
Muestra en pantalla el contenido de Pds::Size, elementos separados por tabulador.
Size(void)
Crea un objeto de tipo Pds::Size.
Size(const Pds::Size &B)
Crea un objeto de tipo Pds::Size copiando datos desde otra.
Size(unsigned int Nlin, unsigned int Ncol)
Crea un objeto de tipo Pds::Size.
void PrintStylized(std::string str="")
Muestra en pantalla el contenido de Pds::Size, en el formato [Nli,Ncol].
Nombre de espacion para PDS (Procesamiento Digital de Senales)
Definition: RaFile.hpp:46

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed