/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #ifndef _MGKnot_HH_ #define _MGKnot_HH_ /** @file */ /** @addtogroup BASE * @{ */ #include "mg/MGCL.h" // MGKnot.h // class MGIfstream; class MGOfstream; ///Defines knot value and its multiplicity. class MG_DLL_DECLR MGKnot{ public: ///String stream Function. MG_DLL_DECLR friend std::ostream& operator<< (std::ostream&, const MGKnot& ); ////////////Constructor//////////// MGKnot():m_multiplicity(0){;}; ///Default Constructor ///*****This is the fundamental constructor.***** MGKnot( double t, /// (const MGKnot& kt2)const{return kt2<(*this);}; bool operator<= (const MGKnot& kt2)const{return !(kt2<(*this));}; bool operator>= (const MGKnot& kt2)const{return !((*this)