VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
subordinateAggregateEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: trueAggregateSubordinateAggregateEntry.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 
13 #ifndef DtTrueAggregateSubordinatesAggregateEntry_H_
14 #define DtTrueAggregateSubordinatesAggregateEntry_H_
15 
16 #include <readerWriter/rwString.h>
19 
20 #include "vrfutil/vrfutilDefines.h"
22 {
23 public:
26 
28  DtSubordinateAggregateEntry(const DtString& name, DtReaderWriterRegistry* parentRegistry = NULL);
29  DtSubordinateAggregateEntry(const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL);
30 
33  const DtSubordinateAggregateEntry& orig,
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  const DtSubordinateAggregateEntry& orig,
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
42 
43  virtual ~DtSubordinateAggregateEntry();
44 
45  virtual DtSubordinateAggregateEntry* clone(const DtString& name,
46  DtReaderWriterRegistry* parentRegistry = NULL) const;
47 
48  virtual DtSubordinateAggregateEntry* clone(const DtSymbolString& name,
49  DtReaderWriterRegistry* parentRegistry = NULL) const;
50 
52 
53  virtual void setFormationName(const DtString & formationName);
54  virtual const DtString & formationName() const;
56 
57 
60  virtual const DtSubordinateObjectsList& subordinateObjectsList() const;
61  virtual void setSubordinateObjectsList(const DtSubordinateObjectsList& subordList);
62  virtual DtSubordinateObjectsList& getSubordinateObjects();
64 
66  DtReaderWriterRegistry* parentRegistry);
67 
68  static DtSubordinateEntry * creator();
69 
70 
71 protected:
72 
81 
86 
88 };
89 
90 
91 namespace DtBufferSerialize
92 {
94  DT_DLL_vrfutil char* encode(const DtSubordinateAggregateEntry& data, char *buffer);
95  DT_DLL_vrfutil const char* decode(DtSubordinateAggregateEntry &data, const char *buffer);
96 }
97 
98 #endif
Definition: subordinateEntry.h:25
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
Definition: symbolString.h:20
virtual DtSubordinateEntry * clone(const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
Definition: subordinateAggregateEntry.h:21
RW List which holds DtSubordinatesEntry subclasses.
Definition: subordinateObjectsList.h:21
DtRwString mySubordinateFormationName
Parameter Name: subordinate-formation Parameter Description: The formation that will be used for the ...
Definition: subordinateAggregateEntry.h:80
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
static DtSubordinateEntry * createSubordinateEntry(DtlObjPtr mtlStream, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Creates and initializes a subordinate entry when reading in from an MTL (MAK Technologies Lisp) file ...
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
DtSubordinateObjectsList mySubordinateObjectsList
Parameter Name: subordinate-objects Parameter Description: List of SubordinateObjects Parameter Defau...
Definition: subordinateAggregateEntry.h:85
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
const DtSubordinateEntry & operator=(const DtSubordinateEntry &orig)
assignment operator

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)