92 operator double()
const;
93 operator float()
const;
94 operator QString()
const;
95 operator std::vector<int>()
const;
96 operator std::vector<double>()
const;
97 operator std::vector<float>()
const;
103 void operator=(
const std::vector<int> &values);
104 void operator=(
const std::vector<double> &values);
105 void operator=(
const std::vector<float> &value);
119 std::vector<int> m_ivalues;
122 std::vector<double> m_dvalues;
125 std::vector<float> m_rvalues;
The values in the field are text strings with 1 byte per character.
Definition: TableField.h:71
Type type() const
Returns the enumerated value of the TableField value's type.
Definition: TableField.cpp:128
static QString toString(const TableField &field, QString delimiter=",")
Definition: TableField.cpp:626
bool isReal() const
Determines whether the field type is Text.
Definition: TableField.cpp:166
int bytes() const
Returns the number of bytes in the field value.
Definition: TableField.cpp:175
void operator=(const int value)
Sets field value equal to input if TableField::Type is Integer and size is 1.
Definition: TableField.cpp:366
The values in the field are 4 byte integers.
Definition: TableField.h:69
TableField(const QString &name, Type type, int size=1)
Constructs a TableField object with the given field name, field value type, and field size...
Definition: TableField.cpp:41
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
bool isInteger() const
Determines whether the field type is Integer.
Definition: TableField.cpp:138
int size() const
Returns the number of values stored for the field at each record.
Definition: TableField.cpp:184
QString name() const
Returns the name of the TableField.
Definition: TableField.cpp:113
The values in the field are 4 byte reals or floats.
Definition: TableField.h:73
~TableField()
Destroys the TableField object.
Definition: TableField.cpp:105
The values in the field are 8 byte doubles.
Definition: TableField.h:70
PvlGroup pvlGroup()
Creates and returns a PvlGroup named "Field" containing the following keywords and their respective v...
Definition: TableField.cpp:605
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool isText() const
Determines whether the field type is Text.
Definition: TableField.cpp:157
Class for storing an Isis::Table's field information.
Definition: TableField.h:63
bool isDouble() const
Determines whether the field type is Double.
Definition: TableField.cpp:148
Type
This enum describes the value type for the TableField.
Definition: TableField.h:68