VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfplan
recursiveSimStatementIterator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: recStmtIter.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
#ifndef DtRecursiveSimStatementIterator_H_
19
#define DtRecursiveSimStatementIterator_H_
20
21
#include <vlutil/vlList.h>
22
23
class
DtSimStatement
;
24
class
DtSimBlock
;
25
class
DtRecursiveSimBlockIterator
;
26
34
#include "
vrfplan/vrfplanDefines.h
"
35
class
DT_DLL_vrfplan
DtRecursiveSimStatementIterator
36
{
37
38
protected
:
40
DtRecursiveSimStatementIterator
();
41
42
public
:
46
DtRecursiveSimStatementIterator
(
DtSimStatement
* statement);
47
49
DtRecursiveSimStatementIterator
(
50
const
DtRecursiveSimStatementIterator
& orig);
51
53
const
DtRecursiveSimStatementIterator
& operator=(
54
const
DtRecursiveSimStatementIterator
& orig);
55
57
virtual
~
DtRecursiveSimStatementIterator
();
58
59
DtRecursiveSimStatementIterator
* clone()
const
;
60
63
virtual
DtSimStatement
* first(
bool
reset =
true
);
64
66
virtual
DtSimStatement
* current()
const
;
67
70
virtual
DtSimStatement
* next();
71
74
virtual
void
reset();
75
77
virtual
int
cursor()
const
;
78
80
virtual
DtSimStatement
* statement()
const
;
81
83
virtual
DtSimStatement
* parentStatement()
const
;
84
86
virtual
int
parentSubBlockIndex()
const
;
87
92
virtual
void
setParentIterator(
DtRecursiveSimBlockIterator
* parentIterator);
93
virtual
DtRecursiveSimBlockIterator
* parentIterator()
const
;
94
95
protected
:
96
int
myCursor
;
97
DtSimStatement
*
myStatement
;
98
DtRecursiveSimBlockIterator
*
myChildIterator
;
99
DtRecursiveSimBlockIterator
*
myParentIterator
;
100
};
101
102
#endif
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)