Version: 9.15.0
mylink Struct Reference

#include <factory.hxx>

Inheritance diagram for mylink:
Collaboration diagram for mylink:

Public Member Functions

void fromport (const std::string &fromport)
 
void toport (const std::string &toport)
 
std::string fromport () const
 
std::string toport () const
 
bool withControl () const
 
void clear ()
 
- Public Member Functions inherited from mycontrol
void fromnode (const std::string &fromnode)
 
void tonode (const std::string &tonode)
 
std::string fromnode () const
 
std::string tonode () const
 
void clear ()
 
void setProperty (const std::string &name, const std::string &value)
 

Public Attributes

bool _withControl
 
- Public Attributes inherited from mycontrol
std::map< std::string, std::string > _props
 

Private Attributes

std::string _fromport
 
std::string _toport
 

Detailed Description

Definition at line 51 of file factory.hxx.

Member Function Documentation

◆ clear()

void mylink::clear ( )
inline

Definition at line 63 of file factory.hxx.

64  {
65  _props.clear();
66  _withControl=true;
67  }
std::map< std::string, std::string > _props
Definition: factory.hxx:37

References mycontrol::_props, and _withControl.

◆ fromport() [1/2]

std::string mylink::fromport ( ) const
inline

Definition at line 54 of file factory.hxx.

54 { return _fromport ; }

References _fromport.

◆ fromport() [2/2]

void mylink::fromport ( const std::string &  fromport)
inline

Definition at line 52 of file factory.hxx.

52 { _fromport = fromport; }

References _fromport, and fromport().

Referenced by fromport(), and YACS::linktypeParser< T >::fromport().

◆ toport() [1/2]

std::string mylink::toport ( ) const
inline

Definition at line 55 of file factory.hxx.

55 { return _toport ; }

References _toport.

◆ toport() [2/2]

void mylink::toport ( const std::string &  toport)
inline

Definition at line 53 of file factory.hxx.

53 { _toport = toport; }

References _toport, and toport().

Referenced by YACS::linktypeParser< T >::toport(), and toport().

◆ withControl()

bool mylink::withControl ( ) const
inline

Definition at line 56 of file factory.hxx.

56 { return _withControl ;}

References _withControl.

Member Data Documentation

◆ _fromport

std::string mylink::_fromport
private

Definition at line 60 of file factory.hxx.

Referenced by fromport().

◆ _toport

std::string mylink::_toport
private

Definition at line 61 of file factory.hxx.

Referenced by toport().

◆ _withControl

bool mylink::_withControl

Definition at line 58 of file factory.hxx.

Referenced by YACS::linktypeParser< T >::buildAttr(), clear(), and withControl().


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