OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
CSMWorld::RecordBase Struct Referenceabstract

#include <record.hpp>

Inheritance diagram for CSMWorld::RecordBase:
Collaboration diagram for CSMWorld::RecordBase:

Public Types

enum  State {
  State_BaseOnly = 0, State_Modified = 1, State_ModifiedOnly = 2, State_Deleted = 3,
  State_Erased = 4
}
 

Public Member Functions

virtual ~RecordBase ()
 
virtual RecordBaseclone () const =0
 
virtual RecordBasemodifiedCopy () const =0
 
virtual void assign (const RecordBase &record)=0
 Will throw an exception if the types don't match. More...
 
bool isDeleted () const
 
bool isErased () const
 
bool isModified () const
 

Public Attributes

State mState
 

Member Enumeration Documentation

Enumerator
State_BaseOnly 
State_Modified 
State_ModifiedOnly 
State_Deleted 
State_Erased 

Constructor & Destructor Documentation

CSMWorld::RecordBase::~RecordBase ( )
virtual

Member Function Documentation

virtual void CSMWorld::RecordBase::assign ( const RecordBase record)
pure virtual
virtual RecordBase* CSMWorld::RecordBase::clone ( ) const
pure virtual
bool CSMWorld::RecordBase::isDeleted ( ) const

Here is the caller graph for this function:

bool CSMWorld::RecordBase::isErased ( ) const
bool CSMWorld::RecordBase::isModified ( ) const

Here is the caller graph for this function:

virtual RecordBase* CSMWorld::RecordBase::modifiedCopy ( ) const
pure virtual

Member Data Documentation

State CSMWorld::RecordBase::mState

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