IBM SYSTEMG G RUNTIME & NATIVE STORE  0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
 All Classes Functions Variables Typedefs Pages
Public Types | Public Member Functions | Protected Attributes | Private Types | Friends | List of all members
ibmppl::Edge< Property, Directedness > Class Template Reference

Generic implementation of graph edge templated by Property type. More...

#include <ibm_graph.h>

Inheritance diagram for ibmppl::Edge< Property, Directedness >:
ibmppl::EdgeBase

Public Types

typedef base_type::edged_type edged_type
 
typedef base_type::vertexd_type vertexd_type
 
typedef Property property_type
 
- Public Types inherited from ibmppl::EdgeBase
enum  FLAGS_T { kDefault = 0, kPropertyValid = 0x00000001 }
 
typedef size_t edged_type
 
typedef size_t vertexd_type
 

Public Member Functions

 Edge (vertexd_type s, vertexd_type t, edged_type id=0)
 
 Edge (vertexd_type s, vertexd_type t, const property_type &p, edged_type id=0)
 
property_type & property ()
 
const property_type & property () const
 
void set_property (property_type &p)
 
bool is_property_valid () const
 
void alloc_property (void)
 
void free_property (void)
 
- Public Member Functions inherited from ibmppl::EdgeBase
 EdgeBase (vertexd_type s, vertexd_type t, edged_type id=0, uint32_t flags=kDefault)
 
bool operator== (const EdgeBase &other) const
 
bool operator!= (const EdgeBase &other) const
 
edged_type id () const
 
vertexd_type source () const
 
vertexd_type target () const
 
void clear_flag (uint32_t flags)
 
void set_flag_invalid ()
 
void set_flag (uint32_t flags)
 
bool test_flag (uint32_t flags) const
 

Protected Attributes

property_type _property
 
- Protected Attributes inherited from ibmppl::EdgeBase
edged_type _id
 
vertexd_type _source
 
vertexd_type _target
 
uint32_t _flags
 

Private Types

typedef EdgeBase base_type
 
typedef Edge< Property,
Directedness > 
this_type
 

Friends

template<class P , DIRECTNESS D>
std::ostream & operator<< (std::ostream &os, const Edge< P, D > &e)
 

Detailed Description

template<class Property, DIRECTNESS Directedness>
class ibmppl::Edge< Property, Directedness >

Generic implementation of graph edge templated by Property type.

Property may not be set at constructor, use flag kPropertyValid to indicate the availability of an edge property


The documentation for this class was generated from the following file: