uzuki2
Recovering R lists faithfully from HDF5 or JSON
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uzuki2::Vector Struct Referenceabstract

Interface for vector-like objects. More...

#include <interfaces.hpp>

Inheritance diagram for uzuki2::Vector:
Inheritance graph
[legend]
Collaboration diagram for uzuki2::Vector:
Collaboration graph
[legend]

Public Member Functions

virtual size_t size () const =0
 
virtual void set_name (size_t i, std::string n)=0
 
virtual void set_missing (size_t i)=0
 
- Public Member Functions inherited from uzuki2::Base
virtual Type type () const =0
 

Detailed Description

Interface for vector-like objects.

Member Function Documentation

◆ set_missing()

virtual void uzuki2::Vector::set_missing ( size_t  i)
pure virtual

Indicate that a vector element is missing.

Parameters
iIndex of a vector element to be marked as missing.

◆ set_name()

virtual void uzuki2::Vector::set_name ( size_t  i,
std::string  n 
)
pure virtual

Set the name of a vector element. This method should only be called if the Vector instance was constructed with support for names.

Parameters
iIndex of a vector element.
nName for the vector element.

◆ size()

virtual size_t uzuki2::Vector::size ( ) const
pure virtual
Returns
Length of the vector.

The documentation for this struct was generated from the following file: