Qore FixedLengthUtil Module Reference 1.6
Loading...
Searching...
No Matches
FixedLengthUtil.qm.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
4/* FixedLengthUtil.qm Copyright 2015 - 2024 Qore Technologies, s.r.o.
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23*/
24
25// minimum required Qore version
26
27
28
29 ) + DataProviderActionCatalog::getActionOptionFromFields(
30 FixedLengthReadDataProvider::ConstructorOptions - ("path", "spec"), {
31 "loc": "constructor",
32 }
33 ),
34 });
35 DataProviderActionCatalog::registerAction(<DataProviderActionInfo>{ "app": FixedLengthUtil::AppName,
36 "path": "/",
37 "action": "write",
38 "subtype": "fixedlengthwrite",
39 "display_name": "Write Fixed-Length Data",
40 "short_desc": "Write fixed-length file data to a specific file location",
41 "desc": "Write fixed-length file data to a specific file location",
42 "action_code": DPAT_CREATE,
43 "cls": "FixedLengthUtil::FixedLengthWriteDataProvider",
44 "options": DataProviderActionCatalog::getActionOptionFromFields( FixedLengthWriteDataProvider::ConstructorOptions{"path", "spec"}, {
45 "preselected": True,
46 "required": True,
47 "loc": "constructor",
48 }
49 ) + DataProviderActionCatalog::getActionOptionFromFields(
50 FixedLengthWriteDataProvider::ConstructorOptions - ("path", "spec"), {
51 "loc": "constructor",
52 }
53 ),
54 });
55 };
56}
57
58/* see release notes below for version history
59*/
60
375namespace FixedLengthUtil {
377const AppName = "FixedLength";
378
380const EOL_UNIX = "\n";
382const EOL_WIN = "\r\n";
384const EOL_MACINTOSH = "\r";
385
386// helper hash (for O(ln(n)) lookups in the worst case) of end of line values
387const EOLS = ...;
388
389};
390
391namespace Priv {
392const FixedLengthWhiteLogo = ...;
393
394
395const FixedLengthBlackLogo = ...;
396
397};
The FixedLengthUtil namespace contains all the definitions in the FixedLengthUtil module.
Definition FixedLengthAbstractIterator.qc.dox.h:27
const AppName
FixedLength app name.
Definition FixedLengthUtil.qm.dox.h:377
const EOL_WIN
MS DOS/Windows end of line character sequence.
Definition FixedLengthUtil.qm.dox.h:382
const EOL_MACINTOSH
Old (pre-OSX) Macintosh end of line character sequence.
Definition FixedLengthUtil.qm.dox.h:384
const EOL_UNIX
Unix end of line character sequence (for new OS X too)
Definition FixedLengthUtil.qm.dox.h:380