AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
StdXmlMock.cs
1
// VBConversions Note: VB project level imports
2
using
System
.Collections.Generic;
3
using
System
;
4
using
System
.Diagnostics;
5
using
System
.Data;
6
using
System
.Xml.Linq;
7
using
Microsoft.VisualBasic;
8
using
System
.Collections;
9
using
System
.Linq;
10
// End of VB project level imports
11
12
13
14
namespace
ManagedAnimatInterfaces
15
{
16
public
class
StdXmlMock
:
IStdXml
17
{
18
19
20
public
void
AddChildCData(
string
strElementName,
string
strCData)
21
{
22
23
}
24
25
public
void
AddChildDoc(
string
Doc)
26
{
27
28
}
29
30
public
void
AddChildElement(
string
strElementName)
31
{
32
33
}
34
35
public
void
AddChildElement(
string
strElementName,
bool
bVal)
36
{
37
38
}
39
40
public
void
AddChildElement(
string
strElementName, byte[] aryData)
41
{
42
43
}
44
45
public
void
AddChildElement(
string
strElementName,
double
dblVal)
46
{
47
48
}
49
50
public
void
AddChildElement(
string
strElementName,
int
iVal)
51
{
52
53
}
54
55
public
void
AddChildElement(
string
strElementName,
long
lVal)
56
{
57
58
}
59
60
public
void
AddChildElement(
string
strElementName,
float
fltVal)
61
{
62
63
}
64
65
public
void
AddChildElement(
string
strElementName,
string
strVal)
66
{
67
68
}
69
70
public
void
AddElement(
string
strElementName)
71
{
72
73
}
74
75
public
void
AddElement(
string
strElementName,
string
strData)
76
{
77
78
}
79
80
public
string
ChildTagName()
81
{
82
return
""
;
83
}
84
85
public
void
Deserialize(
string
strXml)
86
{
87
88
}
89
90
public
bool
FindChildByIndex(
int
iIndex)
91
{
92
return
false
;
93
}
94
95
public
bool
FindChildByIndex(
int
iIndex,
bool
bThrowError)
96
{
97
return
false
;
98
}
99
100
public
bool
FindChildElement(
string
strElementName)
101
{
102
return
false
;
103
}
104
105
public
bool
FindChildElement(
string
strElementName,
bool
bThrowError)
106
{
107
return
false
;
108
}
109
110
public
bool
FindElement(
string
strElementName)
111
{
112
return
false
;
113
}
114
115
public
bool
FindElement(
string
strElementName,
bool
bThrowError)
116
{
117
return
false
;
118
}
119
120
public
string
FullTagPath()
121
{
122
return
""
;
123
}
124
125
public
string
FullTagPath(
bool
bAddChildName)
126
{
127
return
""
;
128
}
129
130
public
bool
GetAttribBool(
string
strAttribName)
131
{
132
return
false
;
133
}
134
135
public
bool
GetAttribBool(
string
strAttribName,
bool
bThrowError)
136
{
137
return
false
;
138
}
139
140
public
bool
GetAttribBool(
string
strAttribName,
bool
bThrowError,
bool
bDefault)
141
{
142
return
false
;
143
}
144
145
public
double
GetAttribDouble(
string
strAttribName)
146
{
147
return
0;
148
}
149
150
public
double
GetAttribDouble(
string
strAttribName,
bool
bThrowError)
151
{
152
return
0;
153
}
154
155
public
double
GetAttribDouble(
string
strAttribName,
bool
bThrowError,
double
dblDefault)
156
{
157
return
0;
158
}
159
160
public
float
GetAttribFloat(
string
strAttribName)
161
{
162
return
0;
163
}
164
165
public
float
GetAttribFloat(
string
strAttribName,
bool
bThrowError)
166
{
167
return
0;
168
}
169
170
public
float
GetAttribFloat(
string
strAttribName,
bool
bThrowError,
float
fltDefault)
171
{
172
return
0;
173
}
174
175
public
int
GetAttribInt(
string
strAttribName)
176
{
177
return
0;
178
}
179
180
public
int
GetAttribInt(
string
strAttribName,
bool
bThrowError)
181
{
182
return
0;
183
}
184
185
public
int
GetAttribInt(
string
strAttribName,
bool
bThrowError,
int
iDefault)
186
{
187
return
0;
188
}
189
190
public
long
GetAttribLong(
string
strAttribName)
191
{
192
return
0;
193
}
194
195
public
long
GetAttribLong(
string
strAttribName,
bool
bThrowError)
196
{
197
return
0;
198
}
199
200
public
long
GetAttribLong(
string
strAttribName,
bool
bThrowError,
long
lDefault)
201
{
202
return
0;
203
}
204
205
public
string
GetAttribString(
string
strAttribName)
206
{
207
return
""
;
208
}
209
210
public
string
GetAttribString(
string
strAttribName,
bool
bCanBeBlank)
211
{
212
return
""
;
213
}
214
215
public
string
GetAttribString(
string
strAttribName,
bool
bCanBeBlank,
bool
bThrowError)
216
{
217
return
""
;
218
}
219
220
public
string
GetAttribString(
string
strAttribName,
bool
bCanBeBlank,
bool
bThrowError,
string
strDefault)
221
{
222
return
""
;
223
}
224
225
public
bool
GetChildAttribBool(
string
strAttribName)
226
{
227
return
false
;
228
}
229
230
public
bool
GetChildAttribBool(
string
strAttribName,
bool
bThrowError)
231
{
232
return
false
;
233
}
234
235
public
bool
GetChildAttribBool(
string
strAttribName,
bool
bThrowError,
bool
bDefault)
236
{
237
return
false
;
238
}
239
240
public
double
GetChildAttribDouble(
string
strAttribName)
241
{
242
return
0;
243
}
244
245
public
double
GetChildAttribDouble(
string
strAttribName,
bool
bThrowError)
246
{
247
return
0;
248
}
249
250
public
double
GetChildAttribDouble(
string
strAttribName,
bool
bThrowError,
double
dblDefault)
251
{
252
return
0;
253
}
254
255
public
float
GetChildAttribFloat(
string
strAttribName)
256
{
257
return
0;
258
}
259
260
public
float
GetChildAttribFloat(
string
strAttribName,
bool
bThrowError)
261
{
262
return
0;
263
}
264
265
public
float
GetChildAttribFloat(
string
strAttribName,
bool
bThrowError,
float
fltDefault)
266
{
267
return
0;
268
}
269
270
public
int
GetChildAttribInt(
string
strAttribName)
271
{
272
return
0;
273
}
274
275
public
int
GetChildAttribInt(
string
strAttribName,
bool
bThrowError)
276
{
277
return
0;
278
}
279
280
public
int
GetChildAttribInt(
string
strAttribName,
bool
bThrowError,
int
iDefault)
281
{
282
return
0;
283
}
284
285
public
long
GetChildAttribLong(
string
strAttribName)
286
{
287
return
0;
288
}
289
290
public
long
GetChildAttribLong(
string
strAttribName,
bool
bThrowError)
291
{
292
return
0;
293
}
294
295
public
long
GetChildAttribLong(
string
strAttribName,
bool
bThrowError,
long
lDefault)
296
{
297
return
0;
298
}
299
300
public
string
GetChildAttribString(
string
strAttribName)
301
{
302
return
""
;
303
}
304
305
public
string
GetChildAttribString(
string
strAttribName,
bool
bCanBeBlank)
306
{
307
return
""
;
308
}
309
310
public
string
GetChildAttribString(
string
strAttribName,
bool
bCanBeBlank,
bool
bThrowError)
311
{
312
return
""
;
313
}
314
315
public
string
GetChildAttribString(
string
strAttribName,
bool
bCanBeBlank,
bool
bThrowError,
string
strDefault)
316
{
317
return
""
;
318
}
319
320
public
bool
GetChildBool()
321
{
322
return
false
;
323
}
324
325
public
bool
GetChildBool(
string
strElementName)
326
{
327
return
false
;
328
}
329
330
public
bool
GetChildBool(
string
strElementName,
bool
bDefault)
331
{
332
return
false
;
333
}
334
335
public
byte[] GetChildByteArray(
string
strElementName)
336
{
337
return
null;
338
}
339
340
public
string
GetChildDoc()
341
{
342
return
""
;
343
}
344
345
public
double
GetChildDouble()
346
{
347
return
0;
348
}
349
350
public
double
GetChildDouble(
string
strElementName)
351
{
352
return
0;
353
}
354
355
public
double
GetChildDouble(
string
strElementName,
double
dblDefault)
356
{
357
return
0;
358
}
359
360
public
float
GetChildFloat()
361
{
362
return
0;
363
}
364
365
public
float
GetChildFloat(
string
strElementName)
366
{
367
return
0;
368
}
369
370
public
float
GetChildFloat(
string
strElementName,
float
fltDefault)
371
{
372
return
0;
373
}
374
375
public
int
GetChildInt()
376
{
377
return
0;
378
}
379
380
public
int
GetChildInt(
string
strElementName)
381
{
382
return
0;
383
}
384
385
public
int
GetChildInt(
string
strElementName,
int
iDefault)
386
{
387
return
0;
388
}
389
390
public
long
GetChildLong()
391
{
392
return
0;
393
}
394
395
public
long
GetChildLong(
string
strElementName)
396
{
397
return
0;
398
}
399
400
public
long
GetChildLong(
string
strElementName,
long
lDefault)
401
{
402
return
0;
403
}
404
405
public
string
GetChildString()
406
{
407
return
""
;
408
}
409
410
public
string
GetChildString(
string
strElementName)
411
{
412
return
""
;
413
}
414
415
public
string
GetChildString(
string
strElementName,
string
strDefault)
416
{
417
return
""
;
418
}
419
420
public
string
GetParentTagName()
421
{
422
return
""
;
423
}
424
425
public
bool
IntoChildElement(
string
strElementName)
426
{
427
return
false
;
428
}
429
430
public
bool
IntoChildElement(
string
strElementName,
bool
bThrowError)
431
{
432
return
false
;
433
}
434
435
public
bool
IntoElem()
436
{
437
return
false
;
438
}
439
440
public
void
Load(
string
strFilename)
441
{
442
443
}
444
445
public
int
NumberOfChildren()
446
{
447
return
0;
448
}
449
450
public
bool
OutOfElem()
451
{
452
return
false
;
453
}
454
455
public
void
Save(
string
strFilename)
456
{
457
458
}
459
460
public
string
Serialize()
461
{
462
return
""
;
463
}
464
465
public
void
SetAttrib(
string
strAttribName,
bool
bVal)
466
{
467
468
}
469
470
public
void
SetAttrib(
string
strAttribName,
double
dblVal)
471
{
472
473
}
474
475
public
void
SetAttrib(
string
strAttribName,
int
iVal)
476
{
477
478
}
479
480
public
void
SetAttrib(
string
strAttribName,
long
lVal)
481
{
482
483
}
484
485
public
void
SetAttrib(
string
strAttribName,
float
fltVal)
486
{
487
488
}
489
490
public
void
SetAttrib(
string
strAttribName,
string
strVal)
491
{
492
493
}
494
495
public
void
SetChildAttrib(
string
strAttribName,
bool
bVal)
496
{
497
498
}
499
500
public
void
SetChildAttrib(
string
strAttribName,
double
dblVal)
501
{
502
503
}
504
505
public
void
SetChildAttrib(
string
strAttribName,
int
iVal)
506
{
507
508
}
509
510
public
void
SetChildAttrib(
string
strAttribName,
long
lVal)
511
{
512
513
}
514
515
public
void
SetChildAttrib(
string
strAttribName,
float
fltVal)
516
{
517
518
}
519
520
public
void
SetChildAttrib(
string
strAttribName,
string
strVal)
521
{
522
523
}
524
525
public
void
SetLogger(
ILogger
oLog)
526
{
527
528
}
529
530
public
string
TagName()
531
{
532
return
""
;
533
}
534
535
}
536
537
}
ManagedAnimatInterfaces.IStdXml
Definition:
IStdXml.cs:17
System
ManagedAnimatInterfaces.StdXmlMock
Definition:
StdXmlMock.cs:16
ManagedAnimatInterfaces
Definition:
DataObjectInterfaceMock.cs:14
ManagedAnimatInterfaces.ILogger
Definition:
ILogger.cs:26
Libraries
ManagedAnimatInterfacesC
CS
StdXmlMock.cs
Generated on Tue Sep 29 2015 07:07:22 for AnimatLab by
1.8.10