Public Member Functions |
const std::string & | stdstring () const |
| Access encapsulated std::string.
|
const char * | typeName () const |
| Name within R of this type of object.
|
char | operator[] (unsigned int index) const |
| Read-only character access.
|
const char * | c_str () const |
| Access as a C-style string.
|
cetype_t | encoding () const |
| Character encoding.
|
bool | isASCII () const |
| Is this Stringpure ASCII?
|
bool | isNA () const |
| Test if 'not available'.
|
unsigned int | packGPBits () const |
| Reproduce the gp bits field used in CR.
|
| VectorBase (SEXPTYPE stype, std::size_t sz) |
| VectorBase (const VectorBase &pattern) |
| Copy constructor.
|
const ListVector * | dimensionNames () const |
| Names associated with the rows, columns or other dimensions of an R matrix or array.
|
const StringVector * | dimensionNames (unsigned int d) const |
| Names associated with a particular dimension of an R matrix or array.
|
const IntVector * | dimensions () const |
| Dimensions of R matrix or array.
|
const StringVector * | names () const |
| Names of vector elements.
|
void | setDimensionNames (ListVector *names) |
| Associate names with the rows, columns or other dimensions of an R matrix or array.
|
void | setDimensionNames (unsigned int d, StringVector *names) |
| Associate names with a particular dimension of an R matrix or array.
|
void | setDimensions (IntVector *dims) |
| Define the dimensions of R matrix or array.
|
void | setNames (StringVector *names) |
| Associate names with the elements of a VectorBase.
|
virtual void | setSize (std::size_t new_size) |
| Adjust the number of elements in the vector.
|
std::size_t | size () const |
| Number of elements in the vector.
|
VectorBase * | clone () const |
| Return pointer to a copy of this object.
|
virtual const PairList * | attributes () const |
| Get object attributes.
|
virtual void | clearAttributes () |
| Remove all attributes.
|
void | copyAttribute (const Symbol *name, const RObject *source) |
| Copy an attribute from one RObject to another.
|
void | copyAttributes (const RObject *source, bool copyS4) |
| Copy attributes from one RObject to another.
|
virtual RObject * | evaluate (Environment *env) |
| Evaluate object in a specified Environment.
|
virtual RObject * | getAttribute (const Symbol *name) const |
| Get the value a particular attribute.
|
virtual bool | hasAttributes () const |
| Has this object any attributes?
|
bool | hasClass () const |
| Has this object the class attribute?
|
bool | isS4Object () const |
| Is this an S4 object?
|
void | maybeTraceMemory (const RObject *src) |
| Carry out memory tracing.
|
void | maybeTraceMemory (const RObject *src1, const RObject *src2) |
| Carry out memory tracing.
|
void | maybeTraceMemory (const RObject *src1, const RObject *src2, const RObject *src3) |
| Carry out memory tracing.
|
bool | memoryTraced () const |
| Is copying etc. of this object being traced?
|
virtual void | setAttribute (const Symbol *name, RObject *value) |
| Set or remove an attribute.
|
void | setAttributes (const PairList *new_attributes) |
| Replace the attributes of an object.
|
void | setMemoryTracing (bool on) |
| Enable/disable tracing of copying etc.
|
void | setS4Object (bool on) |
| Set the status of this RObject as an S4 object.
|
SEXPTYPE | sexptype () const |
| Get an object's SEXPTYPE.
|
virtual void | unpackGPBits (unsigned int gpbits) |
| Interpret the gp bits field used in CR.
|
void | detachReferents () |
| Null out all references from this node to other nodes.
|
void | visitReferents (const_visitor *v) const |
| Conduct a visitor to the nodes referred to by this one.
|
void | expose () const |
| Record that construction of a node is complete.
|
bool | isExposed () const |
| Has this node been exposed to garbage collection?
|
| Link () |
| Default constructor.
|
| Link (HeterogeneousListBase *list) |
| Appending constructor.
|
void | freeLink () |
| Detach Link from any list.
|