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);
111 static QString toString(
const TableField &field, QString delimiter =
",");
Type m_type
Field value type.
The values in the field are text strings with 1 byte per character.
Type type() const
Returns the enumerated value of the TableField value's type.
bool isReal() const
Determines whether the field type is Text.
int bytes() const
Returns the number of bytes in the field value.
QString m_name
Field name.
void operator=(const int value)
Sets field value equal to input if TableField::Type is Integer and size is 1.
std::vector< int > m_ivalues
Vector containing integer field values.
The values in the field are 4 byte integers.
std::vector< float > m_rvalues
Vector containing Real field values.
TableField(const QString &name, Type type, int size=1)
Constructs a TableField object with the given field name, field value type, and field size...
Contains multiple PvlContainers.
bool isInteger() const
Determines whether the field type is Integer.
QString m_svalue
String containing text value of field.
int size() const
Returns the number of values stored for the field at each record.
QString name() const
Returns the name of the TableField.
The values in the field are 4 byte reals or floats.
~TableField()
Destroys the TableField object.
std::vector< double > m_dvalues
Vector containing double field values.
The values in the field are 8 byte doubles.
PvlGroup pvlGroup()
Creates and returns a PvlGroup named "Field" containing the following keywords and their respective v...
int m_bytes
Number of bytes in field.
Namespace for ISIS/Bullet specific routines.
bool isText() const
Determines whether the field type is Text.
Class for storing an Isis::Table's field information.
bool isDouble() const
Determines whether the field type is Double.
Type
This enum describes the value type for the TableField.