GeoIPDBTypes_class: R classes to represent native data type GeoIPDBTypes as R...

GeoIPDBTypesR Documentation

R classes to represent native data type GeoIPDBTypes as R object or reference to native type

Description

These classes and methods provide an R user with access to the native data type GeoIPDBTypes. We define an R version of this data structure with R-level fields, and also an R class that can reference an instance of the native data type. For this reference, we define methods that make the object act as if it were a list in R so that one can access fields via the usual subsetting operators. One can also coerce from one representation to an nother and create new objects via the GeoIPDBTypes constructor function.

Value

The names methods returns a character vector. The constructor functions create objects of the class with the same name as the constructor. The $ operator returns an object as the same class as the field, of course.


omegahat/GeoIP documentation built on Jan. 17, 2024, 6:22 p.m.