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
Creates the FileWrapper.
Destructor
~FileStreamWrapper
Destroys the FileWrapper.
Member Functions
objectTemplate
v8::Handle < v8::ObjectTemplate > objectTemplate(
v8::Isolate * pIsolate
);
close
static void close(
const v8::FunctionCallbackInfo < v8::Value > & args
);
flush
static void flush(
const v8::FunctionCallbackInfo < v8::Value > & args
);
getEOF
static void getEOF(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getGood
static void getGood(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getLineEnding
static void getLineEnding(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getReadable
static void getReadable(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getWritable
static void getWritable(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
peekByte
static void peekByte(
const v8::FunctionCallbackInfo < v8::Value > & args
);
read
static void read(
const v8::FunctionCallbackInfo < v8::Value > & args
);
readByte
static void readByte(
const v8::FunctionCallbackInfo < v8::Value > & args
);
readln
static void readln(
const v8::FunctionCallbackInfo < v8::Value > & args
);
reset
static void reset(
const v8::FunctionCallbackInfo < v8::Value > & args
);
seek
static void seek(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setLineEnding
static void setLineEnding(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
tell
static void tell(
const v8::FunctionCallbackInfo < v8::Value > & args
);
write
static void write(
const v8::FunctionCallbackInfo < v8::Value > & args
);
writeByte
static void writeByte(
const v8::FunctionCallbackInfo < v8::Value > & args
);
writeln
static void writeln(
const v8::FunctionCallbackInfo < v8::Value > & args
);