VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vmap
vpfColumn.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: vpfColumn.h,v $ $Revision: 1.10 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef VPF_COLUMN_H_
10
#define VPF_COLUMN_H_
11
14
15
#include <iostream>
16
#include <fstream>
17
#include <vector>
18
19
#include <vlutil/vlString.h>
20
#include "
vmap/vmapDefines.h
"
21
22
//forward defs
23
class
DtVpfTable
;
24
class
DtVpfColumnData;
25
class
DtVpfData
;
26
28
class
DT_DLL_vmap
DtVpfColumn
29
{
30
private
:
32
DtVpfColumn
(
const
DtVpfColumn
& column);
33
35
DtVpfColumn
& operator=(
const
DtVpfColumn
& column);
36
37
public
:
39
DtVpfColumn
(
DtVpfTable
* table);
40
42
virtual
~
DtVpfColumn
();
43
46
virtual
bool
readDescription();
47
50
virtual
bool
readValue();
51
55
virtual
const
DtVpfData
* operator[](
const
unsigned
int
row)
const
;
56
59
virtual
DtString
columnName()
const
;
60
63
virtual
char
dataType()
const
;
64
68
virtual
int
numberDataElements()
const
;
69
72
virtual
const
DtString
& columnDescription()
const
;
73
76
virtual
const
DtString
& valueDescriptionTableName()
const
;
77
80
virtual
bool
hasValueDescription()
const
;
81
84
virtual
const
DtString
valueDescription(
const
int
input)
const
;
85
88
virtual
const
DtString
valueDescription(
const
DtString
& input)
const
;
89
92
virtual
DtVpfTable
* table()
const
;
93
97
virtual
unsigned
int
numRows()
const
;
98
99
protected
:
100
DtString
myColumnName
;
101
char
myDataType
;
102
DtString
myNumberDataElementsString
;
103
int
myNumberDataElements
;
104
char
myKeyType
;
105
DtString
myDescription
;
106
DtString
myValueDescriptionTableName
;
107
DtString
myThematicIndexTableName
;
108
DtString
myNarrativeTableName
;
109
110
bool
myHasValueDescription
;
111
bool
myHasThematicIndex
;
112
bool
myHasNarrative
;
113
114
DtVpfTable
*
myTable
;
115
std::vector<DtVpfData*>
myData
;
116
};
117
118
#endif
119
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)