externalStorage-class(externalVector)
externalStorage-class()所属R语言包:externalVector
Class "externalStorage", base class for external storage for
类“externalStorage”的基类为外部存储
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The "externalStorage" class represents the base class of the storage backend implementation used by the class "externalVectorWithSToraghe". A pointer to the external storage allocated or accessed by an object of class "externalStorage"
"externalStorage"类代表基类的存储后端类"externalVectorWithSToraghe"使用实施。分配或外部存储的指针访问对象类"externalStorage"
类的对象----------Objects from the Class----------
A virtual Class: No objects may be created from it.
可以从它创建一个虚拟类:无对象。
插槽----------Slots----------
ptr: Object of class "externalptr", keeps the
ptr:Object类的"externalptr",保持
type: Object of class "vector", a vector object of length one representing the type of object stored in the
type:Object类的"vector",矢量对象的长度代表的对象的类型之一存储在
length: Object of class "integer", Cached value
length类"integer",缓存值:对象
methodsptr: Object of class "externalptr".
methodsptr类"externalptr"的对象。
延伸----------Extends----------
Class "externalResource", directly.
类"externalResource",直接。
方法----------Methods----------
Signature components for the methods:
签名组件的方法:
The class "externalStorage"
类“externalStorage”
The class "externalStorage"
类“externalStorage”
The class "externalptr"
类“externalptr”
The class "ANY"
类的“ANY”
The class "ANY"
类的“ANY”
allocator(resource): The allocator to be used by default with this resource. Returns an object of class
(资源)分配器:分配器被默认使用这个resource。返回一个类对象
getPointer(reource): Return the ptr slot.
getPointer(reource):返回ptr插槽。
Set the ptr slot of resource to ptr.
设置ptr资源ptr的插槽。
as.integer(0)):</dt> This checks the validity of type and length arguments and coerce the length argument to class "integer" before using them to set the corresponding slots. Finally a call to callNextMethod is made to use the initializer for class "externalResource" which, via a call to the initializeResource method above
as.integer(0)):</ DT>检查type和length参数的有效性,并强迫length参数类"integer"使用前设置相应的插槽。最后一个callNextMethod呼叫类"externalResource",initializeResource方法通过调用以上用于初始化
internalType(x): The type of object to be stored within the resource. It is an R basic vector type ("logical", "integer", "numeric",
internalType(X):内存储资源的对象的类型。这是一个R的基本向量类型("logical","integer","numeric"
getNativeStorageMethods(x): Get the "externalptr" stored in the "nativeStorageMethods" object associated with a particular subclass of "externalStorage" and a
getNativeStorageMethods(X):得到"externalptr"“"nativeStorageMethods"的"externalStorage"特别是子类和关联的对象存储
参见----------See Also----------
setExternalStorageClass for how to set a subclass of "externalStorage".
setExternalStorageClass如何设置"externalStorage"的子类。
nativeStorageMethods-class for the C structure containing C function pointers for a particular storage methods class.
nativeStorageMethods-classC结构,包含一个特定的存储方法的类C函数的指针。
externalVectorWithStorage-class for how the "externalStorage" class is used.
externalVectorWithStorage-class"externalStorage"类。
simpleStorage-class for a simple implementation of "externalStorage".
simpleStorage-class的"externalStorage"简单的实现。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|