Sparksee 6.1.0
common.h File Reference

It contains common includes and definitions as well as set basic data types and enumerations. More...

Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Classes

class  PlatformStatistics
 Platform data and statistics. More...
class  Platform
 Platform class. More...
class  StringTools
 StringTools class. More...

Macros

#define BEGIN_SPARKSEE_NAMESPACE   namespace sparksee {
 Begining macro for the sparksee namespace.
#define END_SPARKSEE_NAMESPACE   }
 Ending macro for the sparksee namespace.
#define BEGIN_SPARKSEE_GDB_NAMESPACE   BEGIN_SPARKSEE_NAMESPACE namespace gdb {
 Begining macro for the sparksee::gdb namespace.
#define END_SPARKSEE_GDB_NAMESPACE   END_SPARKSEE_NAMESPACE }
 Ending macro for the sparksee::gdb namespace.
#define BEGIN_SPARKSEE_IO_NAMESPACE   BEGIN_SPARKSEE_NAMESPACE namespace io {
 Begining macro for the sparksee::io namespace.
#define END_SPARKSEE_IO_NAMESPACE   END_SPARKSEE_NAMESPACE }
 Ending macro for the sparksee::io namespace.
#define BEGIN_SPARKSEE_SCRIPT_NAMESPACE   BEGIN_SPARKSEE_NAMESPACE namespace script {
 Begining macro for the sparksee::script namespace.
#define END_SPARKSEE_SCRIPT_NAMESPACE   END_SPARKSEE_NAMESPACE }
 Ending macro for the sparksee::script namespace.
#define BEGIN_SPARKSEE_ALGORITHMS_NAMESPACE   BEGIN_SPARKSEE_NAMESPACE namespace algorithms {
 Begining macro for the sparksee::algorithms namespace.
#define END_SPARKSEE_ALGORITHMS_NAMESPACE   END_SPARKSEE_NAMESPACE }
 Ending macro for the sparksee::algorithms namespace.
#define BEGIN_SPARKSEE_TEST_NAMESPACE   BEGIN_SPARKSEE_NAMESPACE namespace test {
 Begining macro for the sparksee::test namespace.
#define END_SPARKSEE_TEST_NAMESPACE   END_SPARKSEE_NAMESPACE }
 Ending macro for the sparksee::test namespace.
#define BEGIN_SPARKSEE_QUERY_STREAMS_NAMESPACE   BEGIN_SPARKSEE_NAMESPACE namespace query_streams {
 Begining macro for the sparksee::query_streams namespace.
#define END_SPARKSEE_QUERY_STREAMS_NAMESPACE   END_SPARKSEE_NAMESPACE }
 Ending macro for the sparksee::query_streams namespace.

Typedefs

typedef bool bool_t
 Boolean type.
typedef char char_t
 Character type.
typedef wchar_t uchar_t
 Unicode character type.
typedef signed int int32_t
 32-bit signed integer type.
typedef signed long long int64_t
 64-bit signed integer type.
typedef double double64_t
 64-bit double type.
typedef int32_t type_t
 Graph node or edge type type.
typedef int32_t attr_t
 Graph attribute type.
typedef int64_t oid_t
 Graph OID type.
typedef int32_t ColorRGB
 Color codified as RGB 32-bit int.

Enumerations

enum  ObjectType {
  Node ,
  Edge
}
 Object type enumeration. More...
enum  DataType {
  Boolean ,
  Integer ,
  Long ,
  Double ,
  Timestamp ,
  String ,
  Text ,
  OID
}
 Data type (domain) enumeration. More...
enum  Condition {
  Equal ,
  GreaterEqual ,
  GreaterThan ,
  LessEqual ,
  LessThan ,
  NotEqual ,
  Like ,
  LikeNoCase ,
  Between ,
  RegExp
}
 Condition operators enumeration. More...
enum  Order {
  Ascendent ,
  Descendent
}
 Order enumeration. More...
enum  EdgesDirection {
  Ingoing ,
  Outgoing ,
  Any
}
 Edges direction enumeration. More...
enum  AttributeKind {
  Basic ,
  Indexed ,
  Unique
}
 Attribute kind enumeration. More...
enum  LogLevel {
  Off ,
  Severe ,
  Warning ,
  Info ,
  Config ,
  Fine ,
  Debug
}
 Log level enumeration. More...
enum  ExportType {
  Graphviz ,
  GraphML ,
  YGraphML ,
  Html
}
 Export type. More...
enum  NodeShape {
  Box ,
  Round ,
  Ellipse ,
  Circle ,
  Cylinder ,
  TextShape ,
  Diamond ,
  Dot ,
  Star ,
  Triangle ,
  TriangleDown ,
  Square ,
  Image
}
 Node shape. More...
enum  MissingEndpoint {
  IsError ,
  Create ,
  Ignore
}
 The policy to follow whenever and edge endpoint is missing during a loading. More...
enum  QueryLanguage {
  SparkseeAlgebra ,
  SparkseeCypher
}
 The supported query languages. More...

Functions

std::wostream & operator<< (std::wostream &wostrm, const enum ObjectType &ot)
 Easy STL printing operator redefinition.
std::wostream & operator<< (std::wostream &wostrm, const enum DataType &dt)
 Easy STL printing operator redefinition.
std::wostream & operator<< (std::wostream &wostrm, const enum AttributeKind &ak)
 Easy STL printing operator redefinition.

Variables

BEGIN_SPARKSEE_GDB_NAMESPACE typedef unsigned char byte_t
 Byte type.

Detailed Description

It contains common includes and definitions as well as set basic data types and enumerations.

Author
Sparsity Technologies http://www.sparsity-technologies.com