#include <string>
#include <vector>
#include "Error.h"
#include "DapObj.h"
Include dependency graph for AttrTable.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | AttrTable |
Contains the attributes for a dataset. More... | |
struct | AttrTable::entry |
Defines | |
#define | _attrtable_h 1 |
Enumerations | |
enum | AttrType { Attr_unknown, Attr_container, Attr_byte, Attr_int16, Attr_uint16, Attr_int32, Attr_uint32, Attr_float32, Attr_float64, Attr_string, Attr_url } |
Functions | |
string | AttrType_to_String (const AttrType at) |
AttrType | String_to_AttrType (const string &s) |
#define _attrtable_h 1 |
Definition at line 35 of file AttrTable.h.
enum AttrType |
AttrType identifies the data types which may appear in an attribute table object.
enum AttrType { Attr_unknown, Attr_container, Attr_byte, Attr_int16, Attr_uint16, Attr_int32, Attr_uint32, Attr_float32, Attr_float64, Attr_string, Attr_url };
Attr_unknown | |
Attr_container | |
Attr_byte | |
Attr_int16 | |
Attr_uint16 | |
Attr_int32 | |
Attr_uint32 | |
Attr_float32 | |
Attr_float64 | |
Attr_string | |
Attr_url |
Definition at line 73 of file AttrTable.h.
string AttrType_to_String | ( | const AttrType | at | ) |
Convert an AttrType to it's string representation.
at | The Attribute Type. |
Definition at line 56 of file AttrTable.cc.
References Attr_byte, Attr_container, Attr_float32, Attr_float64, Attr_int16, Attr_int32, Attr_string, Attr_uint16, Attr_uint32, and Attr_url.
Referenced by AttrTable::dump(), and AttrTable::get_type().
AttrType String_to_AttrType | ( | const string & | s | ) |
Definition at line 74 of file AttrTable.cc.
References Attr_byte, Attr_container, Attr_float32, Attr_float64, Attr_int16, Attr_int32, Attr_string, Attr_uint16, Attr_uint32, Attr_unknown, Attr_url, and downcase().
Referenced by AttrTable::append_attr().
Here is the call graph for this function: