VR-Forces 4.0.4 Class Documentation
include/archiver/archivableCollectionObject.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2003 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: archivableCollectionObject.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DTARCHIVABLECOLLECTIONOBJECT_H_
00013 #define DTARCHIVABLECOLLECTIONOBJECT_H_
00014 
00015 #include "archiver/archiverDefines.h"
00016 #include "archiver/archivableObject.h"
00017 
00018 class DT_DLL_archiver DtCreatableObject : public DtArchivableObject
00019 {
00020 public:
00021    DtCreatableObject();
00022    DtCreatableObject(QString* toCreate);
00023    virtual ~DtCreatableObject();
00024 
00025    virtual DtArchivableObject* created();
00026 
00027 protected:
00028    virtual void read(QTextStream& s);
00029 
00030 protected:
00031    DtArchivableObject* myCreated;
00032    QString* myToCreate;
00033 };
00034 
00035 class DT_DLL_archiver DtArchivableCollectionObject : public DtArchivableObject
00036 {
00037 public:
00040    DtArchivableCollectionObject();
00041    DtArchivableCollectionObject(DtArchivableObject* toArchive);
00042 
00043    virtual ~DtArchivableCollectionObject();
00044 
00045    virtual DtArchivableObject* archivedObject();
00046 
00047 protected:
00048    DtArchivableObject* myToArchive;
00049    QString myCreatorName;
00050    DtCreatableObject myCreator;
00051 };
00052 
00053 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)