VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjcore
simObjectStateRepositoryIterator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: srIterator.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
#ifndef DtSimObjectStateRepositoryIterator_H_
19
#define DtSimObjectStateRepositoryIterator_H_
20
21
#include "
vrfutil/iteratorBase.h
"
22
23
class
DtSimObjectStateRepository
;
24
32
#include <
vrfobjcore/vrfobjcoreDefines.h
>
33
class
DT_DLL_vrfobjcore
DtSimObjectStateRepositoryIterator
:
34
public
DtIteratorBase
<DtSimObjectStateRepository>
35
{
36
private
:
38
DtSimObjectStateRepositoryIterator
();
39
41
DtSimObjectStateRepositoryIterator
(
42
const
DtSimObjectStateRepositoryIterator
& orig);
43
45
const
DtSimObjectStateRepositoryIterator
&
operator=
(
46
const
DtSimObjectStateRepositoryIterator
& orig);
47
48
public
:
50
DtSimObjectStateRepositoryIterator
(
const
DtList& list) :
51
DtIteratorBase
<
DtSimObjectStateRepository
>(list) {};
52
54
virtual
~DtSimObjectStateRepositoryIterator
() {};
55
58
DtSimObjectStateRepository
*
first
(
bool
reset =
true
)
59
{
60
if
(reset)
61
{
62
DtIteratorBase<DtSimObjectStateRepository>::reset
();
63
}
64
65
return
DtIteratorBase<DtSimObjectStateRepository>::first
();
66
};
67
70
DtSimObjectStateRepository
*
last
(
bool
reset =
true
)
71
{
72
if
(reset)
73
{
74
DtIteratorBase<DtSimObjectStateRepository>::reset
();
75
}
76
77
return
DtIteratorBase<DtSimObjectStateRepository>::last
();
78
};
79
};
80
81
#endif
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)