VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
srIterator.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
class
DtSimObjectStateRepositoryIterator
:
public
DtIteratorBase
<DtSimObjectStateRepository>
33
{
34
private
:
36
DtSimObjectStateRepositoryIterator
();
37
39
DtSimObjectStateRepositoryIterator
(
40
const
DtSimObjectStateRepositoryIterator
& orig);
41
43
const
DtSimObjectStateRepositoryIterator
&
operator=
(
44
const
DtSimObjectStateRepositoryIterator
& orig);
45
46
public
:
48
DtSimObjectStateRepositoryIterator
(
const
DtList&
list
) :
49
DtIteratorBase
<
DtSimObjectStateRepository
>(list) {};
50
52
virtual
~DtSimObjectStateRepositoryIterator
() {};
53
56
DtSimObjectStateRepository
*
first
(
bool
reset
=
true
)
57
{
58
if
(
reset
)
59
{
60
DtIteratorBase<DtSimObjectStateRepository>::reset
();
61
}
62
63
return
DtIteratorBase<DtSimObjectStateRepository>::first
();
64
};
65
68
DtSimObjectStateRepository
*
last
(
bool
reset
=
true
)
69
{
70
if
(
reset
)
71
{
72
DtIteratorBase<DtSimObjectStateRepository>::reset
();
73
}
74
75
return
DtIteratorBase<DtSimObjectStateRepository>::last
();
76
};
77
};
78
79
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)