1 #ifndef OTAWA_TEST_PCG_PCG_H
2 #define OTAWA_TEST_PCG_PCG_H
6 #include <elm/genstruct/Vector.h>
7 #include <elm/PreIterator.h>
12 using namespace elm::io;
30 inline bool ended(
void)
const {
return pos>=pcgbs.length();};
32 inline void next(
void) {pos++;};
44 out <<
"<not printable>";
void addPCGBlock(PCGBlock *pcgb)
Definition: PCG.h:34
PCG(CFG *cfg)
Definition: PCG.h:20
int pos
Definition: PCG.h:27
elm::genstruct::Vector< PCGBlock * > & pcgbs
Definition: PCG.h:26
elm::io::Output & operator<<(elm::io::Output &out, Address addr)
Definition: base.cpp:188
Control Flow Graph representation.
Definition: CFG.h:42
PCGIterator(PCG *pcg)
Definition: PCG.h:29
void next(void)
Definition: PCG.h:32
Definition: PCGBlock.h:10
CFG * cfg
Definition: PCG.h:15
sys::SystemOutStream & out
Definition: ipet_parser.cpp:122
dtd::Element cfg(dtd::make("cfg", _CFG).attr(id).content((entry,*bb, exit,*edge)))
int nbPCGBlocks(void)
Definition: PCG.h:35
bool ended(void) const
Definition: PCG.h:30
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
~PCG()
Definition: PCG.h:21
This a list of properties.
Definition: PropList.h:63
genstruct::Vector< PCGBlock * > _pcgbs
Definition: PCG.h:17
elm::genstruct::Vector< PCGBlock * > & pcgbs(void)
Definition: PCG.h:36
PCGBlock * item(void) const
Definition: PCG.h:31