All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
QGpCoreTools::Value< numberType > Class Template Reference

Storage for any double precision value with a flag for validitidy. More...

#include <Value.h>

List of all members.

Public Member Functions

bool isValid () const
void operator= (const Value &o)
void operator= (const numberType &val)
void setValid (bool v)
void setValue (const numberType &val)
 Value ()
 Value (const numberType &val)
 Value (const Value< numberType > &o)
const numberType & value () const
 ~Value ()

Detailed Description

template<class numberType>
class QGpCoreTools::Value< numberType >

Storage for any double precision value with a flag for validitidy.

Storage for any double precision value with a flag for validitidy (usefull for modal computation where some modes may not exist


Constructor & Destructor Documentation

template<class numberType>
QGpCoreTools::Value< numberType >::Value ( ) [inline]
{_valid=false;}
template<class numberType>
QGpCoreTools::Value< numberType >::Value ( const numberType &  val) [inline]
{_valid=true; _value=val;}
template<class numberType>
QGpCoreTools::Value< numberType >::Value ( const Value< numberType > &  o) [inline]
{_valid=o._valid; _value=o._value;}
template<class numberType>
QGpCoreTools::Value< numberType >::~Value ( ) [inline]
{}

Member Function Documentation

template<class numberType>
bool QGpCoreTools::Value< numberType >::isValid ( ) const [inline]
template<class numberType>
void QGpCoreTools::Value< numberType >::operator= ( const Value< numberType > &  o) [inline]
{_valid=o._valid; _value=o._value;}
template<class numberType>
void QGpCoreTools::Value< numberType >::operator= ( const numberType &  val) [inline]
{_valid=true; _value=val;}
template<class numberType>
void QGpCoreTools::Value< numberType >::setValid ( bool  v) [inline]
template<class numberType>
void QGpCoreTools::Value< numberType >::setValue ( const numberType &  val) [inline]
template<class numberType>
const numberType& QGpCoreTools::Value< numberType >::value ( ) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines