TpgBase

class TpgBase

NetworkRep の共有ポインタを持つ基底クラス

TpgNetwork, TpgNode, TpgFFR, TpgMFFC, TpgFault などはこのクラス を継承する.

参考

TpgNode

Subclassed by Assign, AssignIter, AssignList, TpgIterBase, TpgListBase, TpgNetwork, TpgObjBase

Public Functions

TpgBase() = default

空のコンストラクタ

不正な値となる.

inline TpgBase(const std::shared_ptr<NetworkRep> &impl)

値を指定したコンストラクタ

~TpgBase() = default

デストラクタ

inline bool is_valid() const

適正な値を持っているとき true を返す.

inline bool operator==(const TpgBase &right) const

等価比較演算子

inline bool operator!=(const TpgBase &right) const

非等価比較演算子

Public Static Functions

static inline bool check_eq(const TpgBase &right, const TpgBase &left)

同じネットワークに属したオブジェクトの時に true を返す.