inlib  1.2.0
Public Member Functions | Protected Member Functions | Protected Attributes
inlib::sg::field Class Reference
Inheritance diagram for inlib::sg::field:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool write (io::iwbuf &)=0
virtual bool read (io::irbuf &)=0
virtual bool dump (std::ostream &)=0
void touch ()
bool touched () const
void reset_touched ()

Protected Member Functions

 field ()
virtual ~field ()
 field (const field &)
fieldoperator= (const field &)

Protected Attributes

bool m_touched

Detailed Description

Definition at line 23 of file field.


Constructor & Destructor Documentation

inlib::sg::field::field ( ) [inline, protected]

Definition at line 40 of file field.

         :m_touched(true){
#ifdef INLIB_MEM
    mem::increment(s_class().c_str());
#endif
  }
virtual inlib::sg::field::~field ( ) [inline, protected, virtual]

Definition at line 45 of file field.

                  {
#ifdef INLIB_MEM
    mem::decrement(s_class().c_str());
#endif
  }
inlib::sg::field::field ( const field ) [inline, protected]

Definition at line 51 of file field.

                     :m_touched(true){
#ifdef INLIB_MEM
    mem::increment(s_class().c_str());
#endif
  }

Member Function Documentation

virtual bool inlib::sg::field::dump ( std::ostream &  ) [pure virtual]
field& inlib::sg::field::operator= ( const field ) [inline, protected]

Definition at line 56 of file field.

{m_touched=false;return *this;}
virtual bool inlib::sg::field::read ( io::irbuf ) [pure virtual]
void inlib::sg::field::reset_touched ( ) [inline]

Definition at line 60 of file field.

{m_touched = false;}
void inlib::sg::field::touch ( ) [inline]

Definition at line 58 of file field.

{m_touched = true;}
bool inlib::sg::field::touched ( ) const [inline]

Definition at line 59 of file field.

{return m_touched;}
virtual bool inlib::sg::field::write ( io::iwbuf ) [pure virtual]

Member Data Documentation

bool inlib::sg::field::m_touched [protected]

Definition at line 62 of file field.


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