VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
mtl
envList.h
Go to the documentation of this file.
1
/*****************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
6
10
11
#ifndef envList_H__
12
#define envList_H__
13
14
#if DT_ENV_THREAD_SAFE
15
#include <
vlutil/vlMutex.h
>
16
#endif
17
18
#include "
envValue.h
"
19
#include <list>
20
21
#ifdef DtUSE_UTILITIES_NAMESPACE
22
namespace
DtUSE_UTILITIES_NAMESPACE
23
{
24
#endif
25
26
27
31
class
DT_DLL_MTL
DtEnvList
:
public
DtEnvValue
32
{
33
public
:
34
friend
class
DtEnvironment
;
35
37
virtual
DtEnvValueSP
first()
const
;
38
40
virtual
DtEnvValueSP
last()
const
;
41
50
virtual
DtEnvValueSP
next(
DtEnvValueSP
)
const
;
51
53
static
bool
isList(
const
DtEnvValueSP
&);
54
57
static
DtEnvList
* castToList(
const
DtEnvValueSP
& value);
58
59
protected
:
60
62
explicit
DtEnvList
(
const
DtString
& value);
63
65
virtual
DtEnvValue
* clone()
const
;
66
68
virtual
void
cloneChildren(
DtEnvList
* list)
const
;
69
71
virtual
void
append(
DtEnvValueSP
);
72
74
virtual
void
remove
(
DtEnvValueSP
);
75
77
DtEnvValueList
myValues
;
78
79
#if DT_ENV_THREAD_SAFE
80
81
mutable
DtMutex
myChildrenMutex;
82
#endif
83
};
84
85
#ifdef DtUSE_UTILITIES_NAMESPACE
86
}
87
#endif
88
89
90
#endif
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)