graph  5.0.5
Graph: generic attributed relational graphs
UEdge Class Reference

Undirected edges. More...

#include <graph/graph/uedge.h>

Inheritance diagram for UEdge:
Collaboration diagram for UEdge:

Public Member Functions

virtual ~UEdge ()
 
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
 UEdge (std::string s)
 The programmer should not call the constructor. More...
 
 UEdge (const UEdge &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

Undirected edges.

See Graph for UEdge creation.

Definition at line 55 of file uedge.h.

Constructor & Destructor Documentation

◆ ~UEdge()

virtual UEdge::~UEdge ( )
virtual

◆ UEdge() [1/2]

UEdge::UEdge ( std::string  s)
protected

The programmer should not call the constructor.

Parameters
ssyntactic attribute

◆ UEdge() [2/2]

UEdge::UEdge ( const UEdge 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* UEdge::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 UEdge::isDirected ( ) const
virtual

Is this edge directed?

Returns
false

Implements Edge.

◆ isUndirected()

virtual bool UEdge::isUndirected ( ) const
virtual

Is this edge undirected?

Returns
true

Implements Edge.

Friends And Related Function Documentation

◆ GraphFactory

friend class GraphFactory
friend

Definition at line 59 of file uedge.h.


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