VR-Forces Development_Version 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
recursiveSimBlockIterator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: recBlockIter.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
#ifndef DtRecursiveSimBlockIterator_H_
19
#define DtRecursiveSimBlockIterator_H_
20
21
#include <vlutil/vlList.h>
22
23
class
DtSimBlock
;
24
class
DtSimStatement
;
25
class
DtRecursiveSimStatementIterator
;
26
34
#include "
vrfplan/vrfplanDefines.h
"
35
class
DT_DLL_vrfplan
DtRecursiveSimBlockIterator
36
{
37
38
protected
:
40
DtRecursiveSimBlockIterator
();
41
42
public
:
45
DtRecursiveSimBlockIterator
(
DtSimBlock
* simBlock);
46
48
DtRecursiveSimBlockIterator
(
49
const
DtRecursiveSimBlockIterator
& orig);
50
52
const
DtRecursiveSimBlockIterator
& operator=(
53
const
DtRecursiveSimBlockIterator
& orig);
54
56
virtual
~
DtRecursiveSimBlockIterator
();
57
58
DtRecursiveSimBlockIterator
* clone()
const
;
59
62
virtual
DtSimStatement
* first(
bool
reset =
true
);
63
65
virtual
DtSimStatement
* current()
const
;
66
69
virtual
DtSimStatement
* next();
70
73
virtual
void
reset();
74
76
virtual
DtSimStatement
* cursor()
const
;
77
82
virtual
DtSimStatement
* parentStatement()
const
;
83
88
virtual
int
parentSubBlockIndex()
const
;
89
93
virtual
void
setParentIterator(
DtRecursiveSimStatementIterator
*
94
parentIterator);
95
virtual
DtRecursiveSimStatementIterator
* parentIterator()
const
;
96
97
protected
:
98
DtSimStatement
*
myCursor
;
99
DtSimBlock
*
myList
;
100
DtRecursiveSimStatementIterator
*
myChildIterator
;
101
DtRecursiveSimStatementIterator
*
myParentIterator
;
102
};
103
104
#endif
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)