AttrTable.h File Reference

#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 Documentation

#define _attrtable_h   1

Definition at line 35 of file AttrTable.h.


Enumeration Type Documentation

enum AttrType

AttrType identifies the data types which may appear in an attribute table object.

See also:
AttrTable
Enumerator:
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.


Function Documentation

string AttrType_to_String ( const AttrType  at  ) 

Convert an AttrType to it's string representation.

Parameters:
at The Attribute Type.
Returns:
The type's string representation

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:


Generated on Wed Jun 27 12:56:43 2007 for libdap++ by  doxygen 1.4.7