| Qore FileDataProvider Module Reference 1.0

FileGetRequestDataType.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
2
25 namespace FileDataProvider {
27 class FileGetRequestDataType : public HashDataType {
28
29 public:
30 protected:
32 const Fields = {
33 "encoding": {
34 "type": StringType,
35 "desc": "The string encoding to use if `text` = `True` (default: `UTF-8`)",
36 "default_value": "UTF-8",
37 },
38 "max_len": {
39 "type": IntType,
40 "desc": "The maximum length of the data returned in bytes",
41 "default_value": -1,
42 },
43 "path": {
44 "type": StringType,
45 "desc": "The path to the file",
46 },
47 "text": {
48 "type": BoolType,
49 "desc": "If `True` the file will be returned as a string, `False` (the default) as binary data",
50 "default_value": False,
51 },
52 };
53
54 public:
55
57 constructor();
58
59 };
60 };
FileDataProvider::FileGetRequestDataType
Data type for FILE get file request calls.
Definition: FileGetRequestDataType.qc.dox.h:27
FileDataProvider::FileGetRequestDataType::Fields
const Fields
Field descriptions.
Definition: FileGetRequestDataType.qc.dox.h:32
FileDataProvider::FileGetRequestDataType::constructor
constructor()
Creates the object.
False
const False
FileDataProvider
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26