VR-Forces 5.0.1 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();
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,
47  const DtReaderWriter::SearchPaths& searchPaths,
48  const DtVariableBindingsList& variableBindings);
49 
52  void clearList();
53 
57  void copyListItemsFrom(const DtRwSetDataRequestList& sourceList);
58 
59 protected:
63  virtual const char* readerWriterType() const;
64 };
65 
66 namespace DtBufferSerialize
67 {
68  int getSize(const DtRwSetDataRequestList& list);
69  char* encode(const DtRwSetDataRequestList& list, char* buffer);
70  const char* decode(DtRwSetDataRequestList& list, const char* buffer);
71 }
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
Definition: symbolString.h:20
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
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
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)