VGServer Namespace Reference

Library VGServer primary namespace. More...


Classes

class  AnyType
 AnyType is the class which encapsules the different possible attribute typed values. More...
class  AttributeBigBlobPolicy
 AttributeBigBlob is a AttributeBlob specialization for large attribute arrays which grow 1 MB at a time. More...
struct  AttributeEdgeTinyBlobPolicy
 AttributeEdgeTinyblob is a TpAttributeBlob specialization for attribute blob containing values of just one edge object. More...
class  AttributeIdException
 AttributeIdException is thrown by setVertexAttr and setEdgeAttr functions when supplied with an invalid attribute id. More...
class  AttributeParseException
 AttributeParseException is an exception class thrown when the parser recognizes a syntax error. More...
class  AttributeProperties
 AttributeProperties specifies the name, type and possibly more properties of an attribute. More...
class  AttributePropertiesList
 AttributePropertiesList is a container class derived from std::vector enclosing the list of attributes. More...
class  AttributeSelectorList
 AttributeSelectorList holds a vector of AttributeSelectors representing the array of return values of a selection query. More...
class  AttributeVertexTinyBlobPolicy
 AttributeVertexTinyblob is a TpAttributeBlob specialization for attribute blob containing values of just one vertex object. More...
class  ByteBuffer
 ByteBuffer is an inline utility class used by the graph server to enclose a continuous memory space and securely return it to the client. More...
class  ByteInBuffer
 ByteInBuffer is a cursor class to ByteBuffer implementing extraction functions used in the graph client parser to securely access the byte blob returned by the server. More...
class  ByteOutBuffer
 ByteOutBuffer is a cursor class to ByteBuffer implementing growing byte oriented memory buffer interface used in the graph server when constructing the client output. More...
class  ChangeFrame
 ChangeFrame contains a list of changes made to the graph within one time slot. More...
class  Changelist
 Changelist contains a set of flexible data structures used to save temporary changes to the graph, and possibly prepare the changes to be incorporated into the global graph. More...
class  ChangeTimeline
 ChangeTimeline models the functions to manage two Changelist snapshots: one of the initial frame and one including all ChangeFrames merged to support queries for the final state. More...
class  ConversionException
 ConversionException is an exception class thrown by some combinations of get and set in AnyType. More...
class  DataLoadedException
 Thrown by GraphLoader if some invalid data is loaded. More...
class  EdgeRef
 EdgeRef is a read-only reference object holding indices into the GraphData structures. More...
class  FilterRoot
 FilterRoot holds the root node of either an edge filter or a vertex filter. More...
class  GraphClientFace
 GraphClientFace is a facade class for the client to strip down the functionality of GraphConnection. More...
class  GraphConnection
 GraphConnection represents the context and link to exactly one client instance. More...
class  GraphContainer
 GraphContainer is the owner class of the global static graph information. More...
class  GraphData
 GraphData contains the basic data structures representing the global static graph. More...
class  GraphException
 GraphException is the base class for exceptions by some part of the server library. More...
class  GraphLoader
 GraphLoader is a class which extends GraphData by load functions which accept vertex and edge data _in_ascending_order_ and write it into a global GraphData's structure. More...
class  GraphLoaderKFile
 GraphLoaderKFile is-a GraphLoader which will load .k map files. More...
class  GraphParser
 GraphParser is a static polymorphic class used to parse the data streams returned by the server. More...
class  GraphParserCallbackAdapter
 A base callback class containing stubs to all the event functions which are called by the GraphParser. More...
class  GraphParserException
 Thrown by GraphParser when the data stream is invalid. More...
class  GraphProperties
 GraphProperties is a conglomerate of important unchangeable properties of the graph. More...
class  GraphServer
 GraphServer contains the main loop of a graph server which waits for a new connection. More...
class  OrderException
 Thrown by GraphLoader when the required loading order is violated. More...
class  ParseNode
 ParseNode is the abstract interface for filter or selection nodes constructed by the AttributeParser. More...
struct  QueryLimits
 This struct contains the four limit parameters of getArea and getNearestNeighbor. More...
class  RTree
 the outer RTree class implementes a "template namespace" parameterized by the CoordType used in all the nested classes More...
class  TpArray
 TpArray is a more simple template array than std::vector. More...
class  TpAttributeBlob
 TpAttributeBlob is the growing byte oriented memory buffer used in the graph server to store attribute values packed in a large array. More...
class  VertexRef
 VertexRef is a read-only reference object holding indices into the GraphData structures. More...

Namespaces

namespace  AttributeParser
 namespace to enclose the spirit parser grammar and hidden selector or filter node classes

Typedefs

typedef TpAttributeBlob< class
AttributeBigBlobPolicy
AttributeBigBlob
typedef TpAttributeBlob< AttributeBigBlobPolicyAttributeBigBlob
typedef TpAttributeBlob< AttributeEdgeTinyBlobPolicyAttributeEdgeTinyBlob
typedef TpAttributeBlob< class
AttributeTinyBlobPolicy > 
AttributeTinyBlob
typedef TpAttributeBlob< AttributeVertexTinyBlobPolicyAttributeVertexTinyBlob
typedef int coord_t
 this is the type of the world coordinates
typedef unsigned int vertexid_t
 index type used for the vertices

Enumerations

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

Functions

template AnyType AnyType::binary_arith_op< std::divides, '/'> (const AnyType &b) const
template AnyType AnyType::binary_arith_op< std::minus, '-'> (const AnyType &b) const
template AnyType AnyType::binary_arith_op< std::multiplies, '*'> (const AnyType &b) const
template AnyType AnyType::binary_arith_op< std::plus, '+'> (const AnyType &b) const
template bool AnyType::binary_comp_op< std::equal_to, 0 > (const AnyType &b) const
template bool AnyType::binary_comp_op< std::greater, 3 > (const AnyType &b) const
template bool AnyType::binary_comp_op< std::greater_equal, 5 > (const AnyType &b) const
template bool AnyType::binary_comp_op< std::less, 2 > (const AnyType &b) const
template bool AnyType::binary_comp_op< std::less_equal, 4 > (const AnyType &b) const
template bool AnyType::binary_comp_op< std::not_equal_to, 1 > (const AnyType &b) const
 g_strcasecmp (const char *a, const char *b)
const distinct_parser key_p ("0-9a-zA-Z_")
RTree::LevelStats operator+ (const RTree::LevelStats &a, const RTree::LevelStats &b)
 add things up
std::ostream & operator<< (std::ostream &o, const RTree::LevelStats &ls)
 print statistical stuff out
double timestamp ()

Variables

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


Detailed Description

Library VGServer primary namespace.

Typedef Documentation

typedef TpAttributeBlob<class AttributeBigBlobPolicy> VGServer::AttributeBigBlob

Definition at line 9 of file AttributeBlob_fwd.h.

typedef TpAttributeBlob<AttributeBigBlobPolicy> VGServer::AttributeBigBlob

Definition at line 325 of file AttributeBlob.h.

typedef TpAttributeBlob<AttributeEdgeTinyBlobPolicy> VGServer::AttributeEdgeTinyBlob

Definition at line 370 of file AttributeBlob.h.

typedef TpAttributeBlob<class AttributeTinyBlobPolicy> VGServer::AttributeTinyBlob

Definition at line 13 of file AttributeBlob_fwd.h.

typedef TpAttributeBlob<AttributeVertexTinyBlobPolicy> VGServer::AttributeVertexTinyBlob

Definition at line 348 of file AttributeBlob.h.

typedef int VGServer::coord_t

this is the type of the world coordinates

Definition at line 19 of file GraphTypes.h.

typedef unsigned int VGServer::vertexid_t

index type used for the vertices

Definition at line 25 of file GraphTypes.h.


Enumeration Type Documentation

enum VGServer::attrtype_t

attrtype_t is the enum type used for the different attribute types

Enumerator:
ATTRTYPE_INVALID 
ATTRTYPE_BOOL 
ATTRTYPE_CHAR 
ATTRTYPE_SHORT 
ATTRTYPE_INTEGER 
ATTRTYPE_LONG 
ATTRTYPE_BYTE 
ATTRTYPE_WORD 
ATTRTYPE_DWORD 
ATTRTYPE_QWORD 
ATTRTYPE_FLOAT 
ATTRTYPE_DOUBLE 
ATTRTYPE_STRING 
ATTRTYPE_LONGSTRING 

Definition at line 35 of file GraphTypes.h.

enum VGServer::vertex_or_edge_t

enumeration used in some places where function operate on either vertices or edges.

Enumerator:
VE_VERTEX 
VE_EDGE 

Definition at line 32 of file GraphTypes.h.


Function Documentation

template AnyType VGServer::AnyType::binary_arith_op< std::divides, '/'> ( const AnyType &  b  )  const

template AnyType VGServer::AnyType::binary_arith_op< std::minus, '-'> ( const AnyType &  b  )  const

template AnyType VGServer::AnyType::binary_arith_op< std::multiplies, '*'> ( const AnyType &  b  )  const

template AnyType VGServer::AnyType::binary_arith_op< std::plus, '+'> ( const AnyType &  b  )  const

template bool VGServer::AnyType::binary_comp_op< std::equal_to, 0 > ( const AnyType &  b  )  const

template bool VGServer::AnyType::binary_comp_op< std::greater, 3 > ( const AnyType &  b  )  const

template bool VGServer::AnyType::binary_comp_op< std::greater_equal, 5 > ( const AnyType &  b  )  const

template bool VGServer::AnyType::binary_comp_op< std::less, 2 > ( const AnyType &  b  )  const

template bool VGServer::AnyType::binary_comp_op< std::less_equal, 4 > ( const AnyType &  b  )  const

template bool VGServer::AnyType::binary_comp_op< std::not_equal_to, 1 > ( const AnyType &  b  )  const

VGServer::g_strcasecmp ( const char *  a,
const char *  b 
) [inline]

Definition at line 23 of file GraphPort.h.

Referenced by VGServer::AnyType::stringToType().

const distinct_parser VGServer::key_p ( "0-9a-zA-Z_"   ) 

RTree::LevelStats VGServer::operator+ ( const RTree::LevelStats &  a,
const RTree::LevelStats &  b 
) [inline]

add things up

Definition at line 2694 of file RTree.h.

std::ostream& VGServer::operator<< ( std::ostream &  o,
const RTree::LevelStats &  ls 
) [inline]

print statistical stuff out

Definition at line 2681 of file RTree.h.

References VGServer::RTree::LevelStats::bytes, VGServer::RTree::LevelStats::children, VGServer::RTree::LevelStats::nodes, VGServer::RTree::LevelStats::overlap, VGServer::RTree::LevelStats::unusedbytes, VGServer::RTree::LevelStats::unusedchildren, and VGServer::RTree::LevelStats::wastearea.

double VGServer::timestamp (  )  [inline]

Definition at line 29 of file GraphContainer.cc.

Referenced by VGServer::GraphContainer::getArea(), VGServer::GraphContainer::getNearestNeighbor(), and main().


Variable Documentation

const coord_t VGServer::COORD_INVALID = INT_MAX

illegal value of coordinates: used for deleted vertices

Definition at line 22 of file GraphTypes.h.

const vertexid_t VGServer::VERTEX_INVALID = UINT_MAX

invalid vertex id, used for filling up edge arrays

Definition at line 28 of file GraphTypes.h.

Referenced by VGServer::GraphData::applyChangelist(), VGServer::GraphLoader::finish(), VGServer::GraphContainer::getNearestNeighbor(), main(), VGServer::GraphLoader::terminate(), and VGServer::GraphData::writeFig().


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