~ubuntu-branches/ubuntu/raring/voxbo/raring

« back to all changes in this revision

Viewing changes to qtglm/gheaderinfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2010-06-06 11:33:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100606113311-v3c13imdkkd5n7ae
Tags: upstream-1.8.5~svn1172
ImportĀ upstreamĀ versionĀ 1.8.5~svn1172

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
// gheaderinfo.h
 
3
// Copyright (c) 1998-2010 by The VoxBo Development Team
 
4
 
 
5
// This file is part of VoxBo
 
6
// 
 
7
// VoxBo is free software: you can redistribute it and/or modify it
 
8
// under the terms of the GNU General Public License as published by
 
9
// the Free Software Foundation, either version 3 of the License, or
 
10
// (at your option) any later version.
 
11
// 
 
12
// VoxBo is distributed in the hope that it will be useful, but
 
13
// WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
// General Public License for more details.
 
16
// 
 
17
// You should have received a copy of the GNU General Public License
 
18
// along with VoxBo.  If not, see <http://www.gnu.org/licenses/>.
 
19
// 
 
20
// For general information on VoxBo, including the latest complete
 
21
// source code and binary distributions, manual, and associated files,
 
22
// see the VoxBo home page at: http://www.voxbo.org/
 
23
// 
 
24
// original version written by Dongbo Hu
 
25
 
 
26
using namespace std;
 
27
 
 
28
#include "glmutil.h"
 
29
#include <string>
 
30
#include <vector>
 
31
#include <deque>
 
32
 
 
33
class gHeaderInfo
 
34
{
 
35
public:
 
36
  gHeaderInfo();
 
37
  gHeaderInfo(VBMatrix );
 
38
  ~gHeaderInfo();
 
39
  bool chkInfo(bool);
 
40
 
 
41
private:
 
42
  void init();
 
43
  void getInfo(VBMatrix);
 
44
  bool chkCondfxn(bool);
 
45
 
 
46
public:
 
47
  bool read(const std::string& inputName, bool);
 
48
 
 
49
  unsigned rowNum, colNum;
 
50
  int TR, sampling;
 
51
  bool condStat;
 
52
  std::string condfxn;
 
53
  std::deque<std::string> nameList, typeList;
 
54
  tokenlist condKey;
 
55
  VB_Vector *condVector;
 
56
  VBMatrix gMatrix;
 
57
};
 
58
 
 
59
bool chkFileStat(const char * inputName, bool qtFlag);