Poco::JS::File

class FileStreamWrapper

File Information

Library: JS/File
Package: Wrappers
Header: Poco/JS/File/FileStreamWrapper.h

Description

JavaScript wrapper for Poco::File.

Inheritance

Direct Base Classes: Poco::JS::Core::Wrapper

All Base Classes: Poco::JS::Core::Wrapper

Member Summary

Member Functions: close, flush, getEOF, getGood, getLineEnding, getReadable, getWritable, objectTemplate, peekByte, read, readByte, readln, reset, seek, setLineEnding, tell, write, writeByte, writeln

Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent

Enumerations

SeekDir

SEEK_DIR_BEG = 0

SEEK_DIR_CUR = 1

SEEK_DIR_END = 2

Constructors

FileStreamWrapper

FileStreamWrapper();

Creates the FileWrapper.

Destructor

~FileStreamWrapper virtual

~FileStreamWrapper();

Destroys the FileWrapper.

Member Functions

objectTemplate virtual

v8::Handle < v8::ObjectTemplate > objectTemplate(
    v8::Isolate * pIsolate
);

close protected static

static void close(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

flush protected static

static void flush(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

getEOF protected static

static void getEOF(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getGood protected static

static void getGood(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getLineEnding protected static

static void getLineEnding(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getReadable protected static

static void getReadable(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getWritable protected static

static void getWritable(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

peekByte protected static

static void peekByte(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

read protected static

static void read(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

readByte protected static

static void readByte(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

readln protected static

static void readln(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

reset protected static

static void reset(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

seek protected static

static void seek(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

setLineEnding protected static

static void setLineEnding(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

tell protected static

static void tell(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

write protected static

static void write(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

writeByte protected static

static void writeByte(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

writeln protected static

static void writeln(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

Securely control IoT edge devices from anywhere   Connect a Device