VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwSetDataRequestList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
7 
9 #pragma once
10 
13 #include <readerWriter/rwList.h>
14 
17 #include "vlutil/vlList.h"
18 
20 {
21 public:
23  DtRwSetDataRequestList(const DtString& writeName,
24  DtReaderWriterRegistry* parentRegistry = NULL);
25 
26  DtRwSetDataRequestList(const DtSymbolString& writeName,
27  DtReaderWriterRegistry* parentRegistry = NULL);
28 
30  virtual ~DtRwSetDataRequestList() override;
31 
33  DtRwSetDataRequestList(const DtString& writeName,
34  const DtRwSetDataRequestList& orig,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
37  DtRwSetDataRequestList(const DtSymbolString& writeName,
38  const DtRwSetDataRequestList& orig,
39  DtReaderWriterRegistry* parentRegistry = NULL);
40 
43 
44 protected:
46  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
47  const DtVariableBindingsList& variableBindings) override;
48 
51  void clearList();
52 
56  void copyListItemsFrom(const DtRwSetDataRequestList& sourceList);
57 
58 protected:
62  virtual const char* readerWriterType() const override;
63 };
64 
65 namespace DtBufferSerialize
66 {
67  int getSize(const DtRwSetDataRequestList& list);
68  char* encode(const DtRwSetDataRequestList& list, char* buffer);
69  const char* decode(DtRwSetDataRequestList& list, const char* buffer);
70 }
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
Definition: readerWriterRegistry.h:39
Definition: rwSetDataRequestList.h:19
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
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...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual const char * readerWriterType() const override
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
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...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)