Skip to main content

The EdgeInfo Class Reference

Attributes of an edge of a dot graph. More...

Declaration

class EdgeInfo { ... }

Included Headers

#include <src/dotnode.h>

Enumerations Index

enumColors { ... }
enumStyles { ... }

Public Constructors Index

EdgeInfo (Colors color, Styles style, const QCString &lab, const QCString &url, int labColor)

Public Member Functions Index

intcolor () const
intstyle () const
QCStringlabel () const
QCStringurl () const
intlabelColor () const

Private Member Attributes Index

intm_color
intm_style
QCStringm_label
QCStringm_url
intm_labColor

Public Static Functions Index

static constexpr ColorsprotectionToColor (Protection prot)

Description

Attributes of an edge of a dot graph.

Definition at line 32 of file dotnode.h.

Enumerations

Colors

enum EdgeInfo::Colors
Enumeration values
Blue (=0)
Green (=1)
Red (=2)
Purple (=3)
Grey (=4)
Orange (=5)
Orange2 (=6)

Definition at line 35 of file dotnode.h.

35 enum Colors { Blue=0, Green=1, Red=2, Purple=3, Grey=4, Orange=5, Orange2=6 };

Styles

enum EdgeInfo::Styles
Enumeration values
Solid (=0)
Dashed (=1)

Definition at line 36 of file dotnode.h.

36 enum Styles { Solid=0, Dashed=1 };

Public Constructors

EdgeInfo()

EdgeInfo::EdgeInfo (Colors color, Styles style, const QCString & lab, const QCString & url, int labColor)
inline

Definition at line 37 of file dotnode.h.

37 EdgeInfo(Colors color,Styles style,const QCString &lab,const QCString &url,int labColor)
38 : m_color(color), m_style(style), m_label(lab), m_url(url), m_labColor(labColor) {}

References color, m_color, m_labColor, m_label, m_style, m_url, style and url.

Public Member Functions

color()

int EdgeInfo::color ()
inline

Definition at line 39 of file dotnode.h.

39 int color() const { return m_color; }

Reference m_color.

Referenced by EdgeInfo and DotNode::writeArrow.

label()

QCString EdgeInfo::label ()
inline

Definition at line 41 of file dotnode.h.

41 QCString label() const { return m_label; }

Reference m_label.

Referenced by DotNode::writeArrow.

labelColor()

int EdgeInfo::labelColor ()
inline

Definition at line 43 of file dotnode.h.

43 int labelColor() const { return m_labColor; }

Reference m_labColor.

style()

int EdgeInfo::style ()
inline

Definition at line 40 of file dotnode.h.

40 int style() const { return m_style; }

Reference m_style.

Referenced by EdgeInfo and DotNode::writeArrow.

url()

QCString EdgeInfo::url ()
inline

Definition at line 42 of file dotnode.h.

42 QCString url() const { return m_url; }

Reference m_url.

Referenced by EdgeInfo.

Private Member Attributes

m_color

int EdgeInfo::m_color

Definition at line 56 of file dotnode.h.

56 int m_color;

Referenced by color and EdgeInfo.

m_labColor

int EdgeInfo::m_labColor

Definition at line 60 of file dotnode.h.

Referenced by EdgeInfo and labelColor.

m_label

QCString EdgeInfo::m_label

Definition at line 58 of file dotnode.h.

Referenced by EdgeInfo and label.

m_style

int EdgeInfo::m_style

Definition at line 57 of file dotnode.h.

57 int m_style;

Referenced by EdgeInfo and style.

m_url

QCString EdgeInfo::m_url

Definition at line 59 of file dotnode.h.

Referenced by EdgeInfo and url.

Public Static Functions

protectionToColor()

constexpr Colors EdgeInfo::protectionToColor (Protection prot)
inline constexpr static

Definition at line 44 of file dotnode.h.

44 static constexpr Colors protectionToColor(Protection prot)
45 {
46 switch (prot)
47 {
48 case Protection::Public: return Blue;
49 case Protection::Protected: return Green;
50 case Protection::Private: return Red;
51 case Protection::Package: return Purple;
52 }
53 return Blue;
54 }

References Blue, Green, Purple and Red.

Referenced by DotGfxHierarchyTable::addHierarchy and DotClassGraph::buildGraph.


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


Generated via doxygen2docusaurus by Doxygen 1.14.0.