SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | Static Protected Member Functions | Protected Attributes | List of all members
PropertyBase Class Reference

#include <PropertyManager.h>

Inheritance diagram for PropertyBase:
Persistent Property< T >

Public Member Functions

 PropertyBase (bool trans)
 
virtual PropertyBaseclone () const
 
virtual void io (Piostream &)
 
virtual std::string dynamic_type_name () const
 
bool transient () const
 
void set_transient (bool t)
 
virtual bool operator== (PropertyBase &) const
 
virtual bool operator!= (PropertyBase &) const
 
- Public Member Functions inherited from Persistent
virtual ~Persistent ()
 

Static Public Attributes

static PersistentTypeID type_id
 

Static Protected Member Functions

static Persistentmaker ()
 

Protected Attributes

bool transient_
 

Additional Inherited Members

- Static Public Member Functions inherited from Persistent
static PersistentTypeIDPtr find_derived (const std::string &classname, const std::string &basename)
 
static bool is_base_of (const std::string &parent, const std::string &type)
 
static void add_class (const std::string &type, const std::string &parent, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 
static void add_mesh_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 
static void add_field_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 

Constructor & Destructor Documentation

PropertyBase ( bool  trans)
inlineexplicit

Member Function Documentation

virtual PropertyBase* clone ( ) const
inlinevirtual

Reimplemented in Property< T >.

std::string dynamic_type_name ( ) const
virtual

Reimplemented in Property< T >.

virtual void io ( Piostream )
inlinevirtual

Reimplemented from Persistent.

Reimplemented in Property< T >.

Persistent * maker ( )
staticprotected
virtual bool operator!= ( PropertyBase ) const
inlinevirtual

Reimplemented in Property< T >.

virtual bool operator== ( PropertyBase ) const
inlinevirtual

Reimplemented in Property< T >.

void set_transient ( bool  t)
inline
bool transient ( ) const
inline

Member Data Documentation

bool transient_
protected

Transient properties are deleted when the PropertyManager that this Property belongs to is thawed.

PersistentTypeID type_id
static
Todo:
: should be using Guards here...

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