CStrand

Will most probobly be removed.

class CStrand : public Identifiable<CStrand>

A Strand to link two Nodes (Unidirectional)

Public Functions

CStrand()

forbidden

CStrand(std::string const &crsName)

Normal constructor requesting a name for the strand.

CStrand(CStrand const&)

and we don’t make copies

Nothings special

CStrand(CStrand&&)

make_shared<T> moveconstructs

PAtom Append(PAtom poAtom)

Appending another atom to the strand.

operator std::string const&()

Function to receive the name of the strand.

void print()

Print the strand in an informational manner.

Public Static Attributes

constexpr auto s_csNameUnnamedStrand = {"unnamedStrand"}

The name of an unnamed strand.

Friends

std::ostream &operator<<(std::ostream &ros, CStrand const &croStrand)

friend function to send the atoms of the strand to the given stream