VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfplan
stmtFactory.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#ifndef DtStatementFactory_H_
16
#define DtStatementFactory_H_
17
18
#include <vlutil/vlHashlist.h>
19
20
class
DtStatementFactoryEntry
;
21
class
DtReaderWriterRegistry
;
22
class
DtSimStatement
;
23
24
typedef
DtSimStatement
* (*DtStatementCreatorFcn)
25
(
DtReaderWriterRegistry
* parentRegistry);
26
33
34
#include "
vrfplan/vrfplanDefines.h
"
35
class
DT_DLL_vrfplan
DtStatementFactory
36
{
37
public
:
39
DtStatementFactory
();
40
42
DtStatementFactory
(
const
DtStatementFactory
& orig);
43
45
const
DtStatementFactory
& operator=(
const
DtStatementFactory
& orig);
46
48
virtual
~
DtStatementFactory
();
49
51
virtual
void
addCreatorFcn(
const
DtString
& type,
const
int
intType,
52
DtStatementCreatorFcn
fcn);
53
54
virtual
DtSimStatement
* createStatement(
55
const
DtString
& type,
DtReaderWriterRegistry
* parentRegistry);
56
virtual
DtSimStatement
* createStatement(
57
int
type,
DtReaderWriterRegistry
* parentRegistry);
58
59
static
DtStatementFactory
* create();
60
61
protected
:
62
63
DtHashlist
myStringTypeHashlist
;
64
DtHashlist
myIntTypeHashlist
;
65
66
};
67
68
#endif
69
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
)