2 * Copyright (c) 2002-2003 Mainsoft Corporation.
3 * Copyright (C) 2004 Novell, Inc (http://www.novell.com)
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
24 using Microsoft.VisualBasic;
38 void get(out bool value,long recordNumber);
40 void get(out byte value,long recordNumber);
42 void get(out short value,long recordNumber);
44 void get(out char value,long recordNumber);
46 void get(out int value, long recordNumber);
48 void get(out long value, long recordNumber);
50 void get(out float value,long recordNumber);
52 void get(out double value,long recordNumber);
54 void get(out Decimal value,long recordNumber);
56 void get(out DateTime value,long recordNumber);
58 void get(ref Array Value,long RecordNumber,bool ArrayIsDynamic,
59 bool StringIsFixedLength);
61 void get(ref string value,long recordNumber,bool bIgnored);
63 void get(ref object value,long recordNumber);
71 void setPosition(long pos);
75 Stream getFileStream();
77 void writeLine(Object[] arr);
79 void write(Object[] arr);
81 void printLine(Object[] arr);
83 void print(Object[] arr);
85 void put(bool value,long recordNumber);
87 void put(byte value, long recordNumber);
89 void put(short value, long recordNumber);
91 void put( char value, long recordNumber);
93 void put(int value, long recordNumber);
95 void put(long value, long recordNumber);
97 void put(float value, long recordNumber);
99 void put(double value, long recordNumber);
101 void put(Decimal value, long recordNumber);
103 void put(string value,long recordNumber,bool stringIsFixedLength);
105 void put(Object Value,long RecordNumber,
106 bool ArrayIsDynamic,bool StringIsFixedLength);
108 void put(DateTime value,long recordNumber);
115 void Input(out bool Value);
117 void Input(out byte Value);
119 void Input(out short Value);
121 void Input(out int Value);
123 void Input(out long Value);
125 void Input(out char Value);
127 void Input(out float Value);
129 void Input(out double Value);
131 void Input(out Decimal Value);
133 void Input(ref object Value, bool isString);
135 void Input(out string Value);
137 string InputString(int count);
139 string Input(string val);
141 void Input(out DateTime Value);
143 FileAttributes getAttributes();
145 void setAttributes(FileAttributes fileAttr);
149 void seek(long position);
155 void width(int fileNumber, int RecordWidth);