VR-Forces 4.6 Class Documentation
 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 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)