graph  5.0.5
Graph: generic attributed relational graphs
DEdge Class Reference

Directed edges. More...

#include <graph/graph/dedge.h>

Inheritance diagram for DEdge:
Collaboration diagram for DEdge:

Public Member Functions

virtual ~DEdge ()
 
Property querying methods
virtual bool isDirected () const
 Is this edge directed? More...
 
virtual bool isUndirected () const
 Is this edge undirected? More...
 
- Public Member Functions inherited from Edge
iterator begin ()
 Get the beginning of the vertex collection of the graph. More...
 
iterator end ()
 Get the end of the vertex collection of the graph. More...
 
const_iterator begin () const
 Get the beginning of the vertex collection of the graph. More...
 
const_iterator end () const
 Get the end of the vertex collection of the graph. More...
 
reverse_iterator rbegin ()
 Get the beginning of the reversed vertex collection of the graph. More...
 
reverse_iterator rend ()
 Get the end of the reversed vertex collection of the graph. More...
 
const_reverse_iterator rbegin () const
 Get the beginning of the reversed vertex collection of the graph. More...
 
const_reverse_iterator rend () const
 Get the end of the reversed vertex collection of the graph. More...
 
virtual ~Edge ()
 
More...
 
bool hasVertex (const Vertex *vertex) const
 Does this edge contain a given vertex? More...
 
size_t verticesSize () const
 number of vertices More...
 
- Public Member Functions inherited from GraphObject
virtual ~GraphObject ()
 
- Public Member Functions inherited from carto::SyntaxedObject< T >
 SyntaxedObject (const std::string &s)
 
 SyntaxedObject (const SyntaxedObject &x)
 
 SyntaxedObject (const SyntaxedObject< PropertySet > &x)
 

Protected Member Functions

Constructors, destructor
 DEdge (std::string s)
 The programmer should not call the constructor. More...
 
 DEdge (const DEdge &x)
 The programmer should not call the copy constructor. More...
 
virtual EdgecloneEdge () const
 The programmer should not clone. More...
 
- Protected Member Functions inherited from Edge
 Edge (std::string s)
 The programmer should not call the constructor. More...
 
 Edge (const Edge &x)
 The programmer should not call the copy constructor. More...
 
- Protected Member Functions inherited from GraphObject
 GraphObject (const std::string &s)
 The programmer should not call the constructor of an abstract base class. More...
 
 GraphObject (const GraphObject &x)
 

Friends

class GraphFactory
 

Additional Inherited Members

- Public Types inherited from Edge
typedef VSet::value_type value_type
 
typedef VSet::pointer pointer
 
typedef VSet::reference reference
 
typedef VSet::const_reference const_reference
 
typedef VSet::iterator iterator
 
typedef VSet::const_iterator const_iterator
 
typedef VSet::reverse_iterator reverse_iterator
 
typedef VSet::const_reverse_iterator const_reverse_iterator
 
- Public Types inherited from carto::SyntaxedObject< T >
typedef internal::SyntaxedObjectSwitch< T, SUPERSUBCLASS(Interface, T)>::ContentType ContentType
 

Detailed Description

Directed edges.

See Graph for DEdge creation.

Definition at line 55 of file dedge.h.

Constructor & Destructor Documentation

◆ ~DEdge()

virtual DEdge::~DEdge ( )
virtual

◆ DEdge() [1/2]

DEdge::DEdge ( std::string  s)
protected

The programmer should not call the constructor.

Parameters
ssyntactic attribute

◆ DEdge() [2/2]

DEdge::DEdge ( const DEdge x)
protected

The programmer should not call the copy constructor.

Parameters
xedge to clone
See also
Graph for creating edges

Member Function Documentation

◆ cloneEdge()

virtual Edge* DEdge::cloneEdge ( ) const
protectedvirtual

The programmer should not clone.

Returns
a copy of this edge
See also
Graph for creating edges

Implements Edge.

◆ isDirected()

virtual bool DEdge::isDirected ( ) const
virtual

Is this edge directed?

Returns
true

Implements Edge.

◆ isUndirected()

virtual bool DEdge::isUndirected ( ) const
virtual

Is this edge undirected?

Returns
false

Implements Edge.

Friends And Related Function Documentation

◆ GraphFactory

friend class GraphFactory
friend

Definition at line 59 of file dedge.h.


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