VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
include
vrfExtObjects
stringList.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: stringList.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
#ifndef stringList_H_
9
#define stringList_H_
10
11
#include <vlutil/vlString.h>
12
13
#include <
vrfExtObjects/vrfExtObjectsDefines.h
>
14
class
DT_DLL_vrfExtObjects
DtStringList
15
{
16
public
:
18
DtStringList
();
19
21
virtual
~
DtStringList
();
22
24
DtStringList
(
const
DtStringList
& orig);
25
27
DtStringList
& operator=(
28
const
DtStringList
& orig);
29
31
int
operator==(
const
DtStringList
& other)
const
;
32
int
operator!=(
const
DtStringList
& other)
const
;
33
36
virtual
void
setNumStrings(
int
num);
37
virtual
int
numStrings()
const
;
38
40
virtual
bool
setString(
int
index,
41
const
DtString& str);
42
45
virtual
const
DtString& string(
46
int
index,
bool
* valid = 0)
const
;
47
49
virtual
void
printData()
const
;
50
virtual
void
printDataToStream(std::ostream& stream)
const
;
51
53
virtual
void
setFromNet(
const
void
* netRep,
int
length);
54
58
virtual
const
void
* netRep(
int
* size = 0)
const
;
59
61
virtual
int
netSize()
const
;
62
63
protected
:
64
int
myNumberOfStrings
;
65
DtString*
myStrings
;
66
DtString
myEmptyString
;
67
void
*
myNetRep
;
68
};
69
70
#endif
71
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)