33 return std::unique_ptr<NbBranchesAbstract>(
new NbBranches(*
this,node));
75 return std::unique_ptr<NbBranchesAbstract>(
new NoNbBranches);
99 throw Exception(
"NoNbBranches::forceMultiplicity : impossible to be forced !");
104 throw Exception(
"NoNbBranches::getIntValue : no value stored !");
virtual int edGetNumberOfLinks() const
Returns number of physical backlinks NOT number of user backlinks.
void edRemoveAllLinksLinkedWithMe()
static const char NAME_OF_NUMBER_OF_BRANCHES[]
static bool IsBranchPortName(const std::string &name)
void exInit(bool start) override
InputPort * getPort() const override
bool isMultiplicitySpecified(unsigned &value) const override
bool isMyName(const std::string &name) const override
std::unique_ptr< NbBranchesAbstract > copy(Node *node) const override
int getIntValue() const override
int getNumberOfBranches(int nbOfElems) const override
AnyInputPort _nbOfBranches
void forceMultiplicity(unsigned value) override
void forceMultiplicity(unsigned value) override
std::unique_ptr< NbBranchesAbstract > copy(Node *node) const override
bool isMultiplicitySpecified(unsigned &value) const override
InputPort * getPort() const override
int getIntValue() const override
void exInit(bool start) override
int getNumberOfBranches(int nbOfElems) const override
Base class for all nodes.