mixmod  3.2.0
Mixture models for clustering and classification
 All Classes Namespaces Files Functions Variables Enumerations Friends
IndividualColumnDescription.h
1 /***************************************************************************
2  SRC/mixmod/Kernel/IO/IndividualColumnDescription.h description
3  copyright : (C) MIXMOD Team - 2001-2016
4  email : contact@mixmod.org
5  ***************************************************************************/
6 
7 /***************************************************************************
8  This file is part of MIXMOD
9 
10  MIXMOD is free software: you can redistribute it and/or modify
11  it under the terms of the GNU 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  MIXMOD 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
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with MIXMOD. If not, see <http://www.gnu.org/licenses/>.
22 
23  All informations available on : http://www.mixmod.org
24 ***************************************************************************/
25 #ifndef XEMINDIVIDUALCOLUMNDESCRIPTION_H
26 #define XEMINDIVIDUALCOLUMNDESCRIPTION_H
27 
28 #include "mixmod/Kernel/IO/ColumnDescription.h"
29 
30 namespace XEM {
31 
32 //Individual Description
33 
35 
36  int64_t num;
37  std::string name;
38 };
39 
47 
48 public:
49 
52 
54  IndividualColumnDescription(int64_t index);
55 
58 
59  std::string editType();
60 
61  ColumnDescription * clone()const;
62 
63  const std::vector<IndividualDescription> & getIndividualDescription()const;
64 
65  void setIndividualDescription(IndividualDescription & individualDescription, unsigned int index);
66 
67  void insertIndividualDescription(IndividualDescription individualDescription, unsigned int index);
68 
69 private:
70 
71  std::vector<IndividualDescription> _individualDescription;
72 };
73 
74 inline const std::vector<IndividualDescription> & IndividualColumnDescription::getIndividualDescription()const {
75  return _individualDescription;
76 }
77 
78 }
79 
80 #endif // XEMINDIVIDUALCOLUMNDESCRIPTION_H
Definition: IndividualColumnDescription.h:34
Definition: ColumnDescription.h:38
Definition: IndividualColumnDescription.h:46
virtual ~IndividualColumnDescription()
Destructor.
Definition: IndividualColumnDescription.cpp:40
IndividualColumnDescription()
Default constructor.
Definition: IndividualColumnDescription.cpp:30