VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stringList.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vlutil/vlString.h>
14 
16 {
17 public:
18 
20  DtStringList();
21 
23  virtual ~DtStringList();
24 
26  DtStringList(const DtStringList& orig);
27 
29  DtStringList& operator=(
30  const DtStringList& orig);
31 
33  int operator==(const DtStringList& other) const;
34  int operator!=(const DtStringList& other) const;
35 
38  virtual void setNumStrings(int num);
39  virtual int numStrings() const;
40 
42  virtual bool setString(int index,
43  const DtString& str);
44 
47  virtual const DtString& string(
48  int index, bool* valid = 0) const;
49 
51  virtual void printData() const;
52  virtual void printDataToStream(std::ostream& stream) const;
53 
55  virtual void setFromNet(const void* netRep, int length);
56 
60  virtual const void* netRep(int* size = 0) const;
61 
63  virtual int netSize() const;
64 
65 protected:
66 
70  void* myNetRep;
71 
72 };
voidpf void uLong size
Definition: ioapi.h:39
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
DtString myEmptyString
Definition: stringList.h:69
int myNumberOfStrings
Definition: stringList.h:67
Definition: stringList.h:15
void * myNetRep
Definition: stringList.h:70
voidpf stream
Definition: ioapi.h:39
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
DtString * myStrings
Definition: stringList.h:68
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

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)