VR-Forces 4.0.4 Class Documentation
include/vrfutil/trueAggregateSubordinateAggregateEntry.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: trueAggregateSubordinateAggregateEntry.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 
00013 #ifndef DtTrueAggregateSubordinatesAggregateEntry_H_
00014 #define DtTrueAggregateSubordinatesAggregateEntry_H_
00015 
00016 #include "vrfutil/rwString.h"
00017 #include "vrfutil/trueAggregateSubordinateEntry.h"
00018 #include "vrfutil/trueAggregateSubordinateObjectsList.h"
00019 
00020 #include "vrfutil/vrfutilDefines.h"
00021 class DT_DLL_vrfutil DtSubordinateAggregateEntry : public DtSubordinateEntry
00022 {
00023 public:
00025    DtSubordinateAggregateEntry();
00026 
00028    DtSubordinateAggregateEntry(const DtString& name, DtReaderWriterRegistry* parentRegistry = NULL);
00029    DtSubordinateAggregateEntry(const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL);
00030 
00032    DtSubordinateAggregateEntry(const DtString& name, 
00033                      const DtSubordinateAggregateEntry& orig, 
00034                      DtReaderWriterRegistry*  parentRegistry = NULL);
00035 
00036    DtSubordinateAggregateEntry(const DtSymbolString& name, 
00037                      const DtSubordinateAggregateEntry& orig, 
00038                      DtReaderWriterRegistry*  parentRegistry = NULL);
00039 
00041    const DtSubordinateAggregateEntry& operator=(const DtSubordinateAggregateEntry & orig);
00042 
00043    virtual ~DtSubordinateAggregateEntry();
00044 
00045    virtual DtSubordinateAggregateEntry* clone(const DtString& name, 
00046                                     DtReaderWriterRegistry* parentRegistry = NULL) const;
00047 
00048    virtual DtSubordinateAggregateEntry* clone(const DtSymbolString& name, 
00049                                     DtReaderWriterRegistry* parentRegistry = NULL) const;
00050 
00052 
00053    virtual void setFormationName(const DtString & formationName);
00054    virtual const DtString & formationName() const;
00056 
00057 
00060    virtual const DtSubordinateObjectsList&  subordinateObjectsList() const;
00061    virtual void setSubordinateObjectsList(const DtSubordinateObjectsList& subordList);
00062    virtual DtSubordinateObjectsList& getSubordinateObjects(); 
00064 
00065    static DtSubordinateAggregateEntry* createSubordinateEntry(const DtString& rwName,
00066       DtReaderWriterRegistry* parentRegistry);
00067 
00068    static DtSubordinateEntry * creator();
00069 
00070 
00071 protected:
00072 
00080    DtRwString mySubordinateFormationName;
00081 
00085    DtSubordinateObjectsList  mySubordinateObjectsList;
00086 
00088 };
00089 
00090 
00091 namespace DtBufferSerialize
00092 {
00093    DT_DLL_vrfutil int getSize(const DtSubordinateAggregateEntry& val);
00094    DT_DLL_vrfutil char* encode(const DtSubordinateAggregateEntry& data, char *buffer);
00095    DT_DLL_vrfutil const char* decode(DtSubordinateAggregateEntry &data, const char *buffer);
00096 }
00097 
00098 #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)