File: user_defined_2.html

package info (click to toggle)
quickfix 1.15.1%2Bdfsg-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 42,080 kB
  • sloc: cpp: 631,686; python: 129,549; ruby: 106,716; xml: 43,737; ansic: 7,668; java: 1,826; cs: 816; makefile: 544; sh: 462; sql: 313
file content (34 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>

<html>
<head>
  <title></title>
</head>

<body>
  <header>
    <link href="../doxygen.css" rel="stylesheet" type="text/css">
  </header>

  <div class='fragment'>
    <pre>
from quickfix import *

class MyStringField(quickfix.StringField):
        def __init__(self, data = None)
                if data == None:
                        quickfix.StringField.__init__(self, 6123)
                else:
                        quickfix.StringField.__init__(self, 6123, data)

class MyPriceField(quickfix.DoubleField):
        def __init__(self, data = None)
                if data == None:
                        quickfix.DoubleField.__init__(self, 8756)
                else:
                        quickfix.DoubleField.__init__(self, 8756, data)
  
</pre>
  </div>
</body>
</html>