inlib  1.2.0
Public Member Functions | Protected Member Functions | Protected Attributes
inlib::sg::bsf< T > Class Template Reference
Inheritance diagram for inlib::sg::bsf< T >:
Inheritance graph
[legend]
Collaboration diagram for inlib::sg::bsf< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 bsf (const T &a_value)
virtual ~bsf ()
 bsf (const bsf &a_from)
bsfoperator= (const bsf &a_from)
bsfoperator= (const T &a_value)
bool operator== (const bsf &a_from) const
bool operator!= (const bsf &a_from) const
bool operator== (const T &a_value) const
bool operator!= (const T &a_value) const
 operator const T & () const
 operator T ()
bsfoperator+= (const T &a_value)
T & value ()
const T & value () const
void value (const T &a_value)
void value_no_cmp (const T &a_value)

Protected Member Functions

 bsf ()

Protected Attributes

m_value

Detailed Description

template<class T>
class inlib::sg::bsf< T >

Definition at line 17 of file sf.


Constructor & Destructor Documentation

template<class T>
inlib::sg::bsf< T >::bsf ( ) [inline, protected]

Definition at line 38 of file sf.

{}
template<class T>
inlib::sg::bsf< T >::bsf ( const T &  a_value) [inline]

Definition at line 40 of file sf.

:m_value(a_value){}
template<class T>
virtual inlib::sg::bsf< T >::~bsf ( ) [inline, virtual]

Definition at line 41 of file sf.

{}
template<class T>
inlib::sg::bsf< T >::bsf ( const bsf< T > &  a_from) [inline]

Definition at line 43 of file sf.

  :field(a_from)
  ,m_value(a_from.m_value){}

Member Function Documentation

template<class T>
inlib::sg::bsf< T >::operator const T & ( ) const [inline]

Definition at line 73 of file sf.

{return m_value;}
template<class T>
inlib::sg::bsf< T >::operator T ( ) [inline]

Definition at line 74 of file sf.

{return m_value;}
template<class T>
bool inlib::sg::bsf< T >::operator!= ( const bsf< T > &  a_from) const [inline]

Definition at line 62 of file sf.

                                           {
    return !operator==(a_from);
  }
template<class T>
bool inlib::sg::bsf< T >::operator!= ( const T &  a_value) const [inline]

Definition at line 69 of file sf.

                                          { 
    return !operator==(a_value);
  }
template<class T>
bsf& inlib::sg::bsf< T >::operator+= ( const T &  a_value) [inline]

Definition at line 76 of file sf.

                                   {
    m_value += a_value;
    m_touched = true;
    return *this;
  }
template<class T>
bsf& inlib::sg::bsf< T >::operator= ( const bsf< T > &  a_from) [inline]

Definition at line 47 of file sf.

                                   {
    field::operator=(a_from);
    if(a_from.m_value!=m_value) m_touched = true;
    m_value = a_from.m_value;
    return *this;
  }
template<class T>
bsf& inlib::sg::bsf< T >::operator= ( const T &  a_value) [inline]
template<class T>
bool inlib::sg::bsf< T >::operator== ( const bsf< T > &  a_from) const [inline]

Definition at line 59 of file sf.

                                           {
    return m_value==a_from.m_value;
  }
template<class T>
bool inlib::sg::bsf< T >::operator== ( const T &  a_value) const [inline]

Definition at line 66 of file sf.

                                          {
    return m_value==a_value;
  }
template<class T>
T& inlib::sg::bsf< T >::value ( ) [inline]

Definition at line 82 of file sf.

{return m_value;}
template<class T>
const T& inlib::sg::bsf< T >::value ( ) const [inline]

Definition at line 83 of file sf.

{return m_value;}
template<class T>
void inlib::sg::bsf< T >::value ( const T &  a_value) [inline]

Definition at line 84 of file sf.

                               {
    if(a_value!=m_value) m_touched = true;
    m_value = a_value;
  }
template<class T>
void inlib::sg::bsf< T >::value_no_cmp ( const T &  a_value) [inline]

Definition at line 88 of file sf.

                                      {
    //if(a_value!=m_value) m_touched = true;
    m_value = a_value;
  }

Member Data Documentation

template<class T>
T inlib::sg::bsf< T >::m_value [protected]

Definition at line 101 of file sf.


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