GraphTypes.h File Reference

#include <limits.h>
#include <vector>
#include <string>

Go to the source code of this file.

Namespaces

namespace  VGServer

Classes

class  VGServer::GraphException
 GraphException is the base class for exceptions by some part of the server library. More...
struct  VGServer::QueryLimits
 This struct contains the four limit parameters of getArea and getNearestNeighbor. More...

Defines

#define CASE_FIXED_LENGTH
 this is an evil macro used in switched to make one block for all fixed-length attribute types.

Typedefs

typedef int VGServer::coord_t
 this is the type of the world coordinates
typedef unsigned int VGServer::vertexid_t
 index type used for the vertices

Enumerations

enum  VGServer::attrtype_t {
  VGServer::ATTRTYPE_INVALID = 0x0, VGServer::ATTRTYPE_BOOL = 0x1, VGServer::ATTRTYPE_CHAR = 0x10, VGServer::ATTRTYPE_SHORT = 0x11,
  VGServer::ATTRTYPE_INTEGER = 0x12, VGServer::ATTRTYPE_LONG = 0x13, VGServer::ATTRTYPE_BYTE = 0x20, VGServer::ATTRTYPE_WORD = 0x21,
  VGServer::ATTRTYPE_DWORD = 0x22, VGServer::ATTRTYPE_QWORD = 0x23, VGServer::ATTRTYPE_FLOAT = 0x30, VGServer::ATTRTYPE_DOUBLE = 0x31,
  VGServer::ATTRTYPE_STRING = 0x40, VGServer::ATTRTYPE_LONGSTRING = 0x41
}
 attrtype_t is the enum type used for the different attribute types More...
enum  VGServer::vertex_or_edge_t { VGServer::VE_VERTEX = 0, VGServer::VE_EDGE = 1 }
 enumeration used in some places where function operate on either vertices or edges. More...

Variables

const coord_t VGServer::COORD_INVALID = INT_MAX
 illegal value of coordinates: used for deleted vertices
const vertexid_t VGServer::VERTEX_INVALID = UINT_MAX
 invalid vertex id, used for filling up edge arrays


Define Documentation

#define CASE_FIXED_LENGTH

Value:

this is an evil macro used in switched to make one block for all fixed-length attribute types.

The last : is omitted!

Definition at line 46 of file GraphTypes.h.

Referenced by VGServer::TpAttributeBlob< AllocPolicy >::getAttrChainLength(), VGServer::TpAttributeBlob< AllocPolicy >::getAttrChainValue(), and VGServer::TpAttributeBlob< AllocPolicy >::putAttrChainValue().


Generated on Wed Sep 27 14:34:00 2006 for VGServer by  doxygen 1.4.7