This class defines a directed relation between two Tic items.
More...
#include <TicArc.hpp>
|
| TicArc (const TicArc &arg) |
| Default copy constructor.
|
|
| TicArc (TicArc &&arg) noexcept |
| Default move constructor.
|
|
TicArc & | operator= (const TicArc &arg) |
| Default copy-assignment operator.
|
|
TicArc & | operator= (TicArc &&arg) noexcept |
| Default move-assignment operator.
|
|
| ~TicArc (void) |
| Default destructor.
|
|
| TicArc (TicArcRole role, const TicNode &from, const TicNode &to) |
| Constructs a TicArc instance. More...
|
|
TicArcRole | GetRole (void) const |
| The role of this arc. More...
|
|
const TicNode & | GetFrom (void) const |
| The name of the source of this arc. More...
|
|
const TicNode & | GetTo (void) const |
| The name of the destination of this arc. More...
|
|
Impl & | GetImpl (void) |
| For internal use only.
|
|
const Impl & | GetImpl (void) const |
|
This class defines a directed relation between two Tic items.
◆ TicArc()
Arp::Io::Commons::Configuration::TicArc::TicArc |
( |
TicArcRole |
role, |
|
|
const TicNode & |
from, |
|
|
const TicNode & |
to |
|
) |
| |
|
explicit |
Constructs a TicArc instance.
- Parameters
-
role | The role of this arc. |
from | The name of the source of this arc. |
to | The name of the destination of this arc. |
◆ GetFrom()
const TicNode & Arp::Io::Commons::Configuration::TicArc::GetFrom |
( |
void |
| ) |
const |
The name of the source of this arc.
- Returns
- The source name of this arc.
◆ GetRole()
TicArcRole Arp::Io::Commons::Configuration::TicArc::GetRole |
( |
void |
| ) |
const |
The role of this arc.
- Returns
- The role of this arc.
◆ GetTo()
const TicNode & Arp::Io::Commons::Configuration::TicArc::GetTo |
( |
void |
| ) |
const |
The name of the destination of this arc.
- Returns
- The destination name of this arc.
◆ operator==
ARP_EXPORT friend bool operator== |
( |
const TicArc & |
lhs, |
|
|
const TicArc & |
rhs |
|
) |
| |
|
friend |
Compares two arcs on equality.
- Parameters
-
lhs | The left operand to compare. |
rhs | The right operand to compare. |
- Returns
true
on equality, otherwise false
.
The documentation for this class was generated from the following files:
- Arp/Io/Commons/Configuration/TicArc.hpp
- Arp/Io/Commons/Configuration/TicArc.cpp