Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
MscIntervalCouple< T > Class Template Reference

class representing couple value-number and bracket More...

#include <time.h>

Collaboration diagram for MscIntervalCouple< T >:
Collaboration graph

Public Member Functions

 MscIntervalCouple ()
 
 MscIntervalCouple (const std::string &, const bool &)
 
 MscIntervalCouple (const bool &b, const T &d)
 
const bool & get_closed () const
 
const T & get_value () const
 
void set_closed (const bool &closed)
 
void set_value (const T &value)
 
const MscIntervalCouple operator+ (const MscIntervalCouple &right) const
 
const MscIntervalCouple operator- (const MscIntervalCouple &right) const
 
const MscIntervalCouple operator+ (const T &value) const
 
const MscIntervalCouple operator- (const T &value) const
 
const MscIntervalCouple operator* (const T &value) const
 
MscIntervalCoupleoperator= (const MscIntervalCouple &right)
 
MscIntervalCoupleoperator= (const T &value)
 
MscIntervalCoupleoperator= (const bool &b)
 
MscIntervalCoupleoperator+= (const MscIntervalCouple &right)
 
MscIntervalCoupleoperator-= (const MscIntervalCouple &right)
 
MscIntervalCoupleoperator+= (const T &value)
 
MscIntervalCoupleoperator-= (const T &value)
 
bool operator== (const T &right) const
 
bool operator!= (const T &right) const
 
bool operator< (const T &right) const
 
bool operator<= (const T &right) const
 
bool operator> (const T &right) const
 
bool operator>= (const T &right) const
 
bool operator== (const MscIntervalCouple &right) const throw ()
 
bool operator!= (const MscIntervalCouple &right) const throw ()
 
bool operator< (const MscIntervalCouple &right) const throw (MscIntervalCoupleUncomparable)
 
bool operator> (const MscIntervalCouple &right) const throw (MscIntervalCoupleUncomparable)
 
template<>
 MscIntervalCouple (const std::string &number, const bool &closed)
 
template<>
 MscIntervalCouple (const std::string &number, const bool &closed)
 
template<>
 MscIntervalCouple (const bool &b, const double &d)
 
template<>
 MscIntervalCouple (const bool &b, const DecScaled &d)
 
template<>
bool operator== (const double &right) const
 
template<>
bool operator!= (const double &right) const
 
template<>
bool operator< (const double &right) const
 
template<>
bool operator<= (const double &right) const
 
template<>
bool operator> (const double &right) const
 
template<>
bool operator>= (const double &right) const
 

Private Attributes

bool m_closed
 
m_value
 

Detailed Description

template<class T>
class MscIntervalCouple< T >

class representing couple value-number and bracket

Definition at line 274 of file time.h.

Constructor & Destructor Documentation

template<class T>
MscIntervalCouple< T >::MscIntervalCouple ( )
inline

Definition at line 281 of file time.h.

template<class T>
MscIntervalCouple< T >::MscIntervalCouple ( const std::string ,
const bool &   
)
template<class T>
MscIntervalCouple< T >::MscIntervalCouple ( const bool &  b,
const T &  d 
)
template<>
MscIntervalCouple< double >::MscIntervalCouple ( const std::string number,
const bool &  closed 
)

Definition at line 57 of file time.cpp.

References MscIntervalCouple< T >::m_value, and string.

template<>
MscIntervalCouple< DecScaled >::MscIntervalCouple ( const std::string number,
const bool &  closed 
)

Definition at line 102 of file time.cpp.

References MscIntervalCouple< T >::m_value.

template<>
MscIntervalCouple< double >::MscIntervalCouple ( const bool &  b,
const double &  d 
)

Definition at line 121 of file time.cpp.

References MscIntervalCouple< T >::m_closed, and MscIntervalCouple< T >::m_value.

template<>
MscIntervalCouple< DecScaled >::MscIntervalCouple ( const bool &  b,
const DecScaled d 
)

Definition at line 131 of file time.cpp.

Member Function Documentation

template<class T>
const bool& MscIntervalCouple< T >::get_closed ( ) const
inline

Definition at line 290 of file time.h.

template<class T>
const T& MscIntervalCouple< T >::get_value ( ) const
inline

Definition at line 295 of file time.h.

template<class T>
bool MscIntervalCouple< T >::operator!= ( const T &  right) const
inline

Definition at line 386 of file time.h.

template<class T>
bool MscIntervalCouple< T >::operator!= ( const MscIntervalCouple< T > &  right) const
throw (
)
inline
Warning
: does not bother with left and right couple

Definition at line 412 of file time.h.

template<>
bool MscIntervalCouple< double >::operator!= ( const double &  right) const
inline

Definition at line 454 of file time.h.

References fcmp().

template<class T>
const MscIntervalCouple MscIntervalCouple< T >::operator* ( const T &  value) const
inline

Definition at line 330 of file time.h.

template<class T>
const MscIntervalCouple MscIntervalCouple< T >::operator+ ( const MscIntervalCouple< T > &  right) const
inline

Definition at line 310 of file time.h.

References MscIntervalCouple< T >::m_closed, and MscIntervalCouple< T >::m_value.

template<class T>
const MscIntervalCouple MscIntervalCouple< T >::operator+ ( const T &  value) const
inline

Definition at line 320 of file time.h.

template<class T>
MscIntervalCouple& MscIntervalCouple< T >::operator+= ( const MscIntervalCouple< T > &  right)
inline

Definition at line 357 of file time.h.

References MscIntervalCouple< T >::m_closed, and MscIntervalCouple< T >::m_value.

template<class T>
MscIntervalCouple& MscIntervalCouple< T >::operator+= ( const T &  value)
inline

Definition at line 371 of file time.h.

template<class T>
const MscIntervalCouple MscIntervalCouple< T >::operator- ( const MscIntervalCouple< T > &  right) const
inline

Definition at line 315 of file time.h.

References MscIntervalCouple< T >::m_closed, and MscIntervalCouple< T >::m_value.

template<class T>
const MscIntervalCouple MscIntervalCouple< T >::operator- ( const T &  value) const
inline

Definition at line 325 of file time.h.

template<class T>
MscIntervalCouple& MscIntervalCouple< T >::operator-= ( const MscIntervalCouple< T > &  right)
inline

Definition at line 364 of file time.h.

References MscIntervalCouple< T >::m_closed, and MscIntervalCouple< T >::m_value.

template<class T>
MscIntervalCouple& MscIntervalCouple< T >::operator-= ( const T &  value)
inline

Definition at line 377 of file time.h.

template<class T>
bool MscIntervalCouple< T >::operator< ( const T &  right) const
inline

Definition at line 389 of file time.h.

template<class T>
bool MscIntervalCouple< T >::operator< ( const MscIntervalCouple< T > &  right) const
throw (MscIntervalCoupleUncomparable
)
inline
Warning
bother about left and right
Exceptions
MscIntervalCoupleUncomparablein case it cant be decided

Definition at line 421 of file time.h.

template<>
bool MscIntervalCouple< double >::operator< ( const double &  right) const
inline

Definition at line 458 of file time.h.

References fcmp().

template<class T>
bool MscIntervalCouple< T >::operator<= ( const T &  right) const
inline

Definition at line 392 of file time.h.

template<>
bool MscIntervalCouple< double >::operator<= ( const double &  right) const
inline

Definition at line 462 of file time.h.

References fcmp().

template<class T>
MscIntervalCouple& MscIntervalCouple< T >::operator= ( const MscIntervalCouple< T > &  right)
inline

Definition at line 335 of file time.h.

References MscIntervalCouple< T >::m_closed, and MscIntervalCouple< T >::m_value.

template<class T>
MscIntervalCouple& MscIntervalCouple< T >::operator= ( const T &  value)
inline

Definition at line 344 of file time.h.

template<class T>
MscIntervalCouple& MscIntervalCouple< T >::operator= ( const bool &  b)
inline

Definition at line 350 of file time.h.

template<class T>
bool MscIntervalCouple< T >::operator== ( const T &  right) const
inline

Definition at line 383 of file time.h.

template<class T>
bool MscIntervalCouple< T >::operator== ( const MscIntervalCouple< T > &  right) const
throw (
)
inline
Warning
: does not bother with left and right couple

Definition at line 404 of file time.h.

template<>
bool MscIntervalCouple< double >::operator== ( const double &  right) const
inline

Definition at line 450 of file time.h.

References fcmp().

template<class T>
bool MscIntervalCouple< T >::operator> ( const T &  right) const
inline

Definition at line 395 of file time.h.

template<class T>
bool MscIntervalCouple< T >::operator> ( const MscIntervalCouple< T > &  right) const
throw (MscIntervalCoupleUncomparable
)
inline
Warning
bother about left and right
Exceptions
MscIntervalCoupleUncomparablein case it cant be decided

Definition at line 437 of file time.h.

template<>
bool MscIntervalCouple< double >::operator> ( const double &  right) const
inline

Definition at line 466 of file time.h.

References fcmp().

template<class T>
bool MscIntervalCouple< T >::operator>= ( const T &  right) const
inline

Definition at line 398 of file time.h.

template<>
bool MscIntervalCouple< double >::operator>= ( const double &  right) const
inline

Definition at line 470 of file time.h.

References fcmp().

template<class T>
void MscIntervalCouple< T >::set_closed ( const bool &  closed)
inline

Definition at line 300 of file time.h.

template<class T>
void MscIntervalCouple< T >::set_value ( const T &  value)
inline

Definition at line 305 of file time.h.

Member Data Documentation

template<class T>
bool MscIntervalCouple< T >::m_closed
private
template<class T>
T MscIntervalCouple< T >::m_value
private

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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:59 for Sequence Chart Studio by  doxygen