Interface for vector-like objects.
More...
#include <interfaces.hpp>
|
| virtual std::size_t | size () const =0 |
| |
| virtual void | set_name (std::size_t i, std::string n)=0 |
| |
| virtual void | set_missing (std::size_t i)=0 |
| |
| virtual Type | type () const =0 |
| |
Interface for vector-like objects.
◆ set_missing()
| virtual void uzuki2::Vector::set_missing |
( |
std::size_t | i | ) |
|
|
pure virtual |
Indicate that a vector element is missing.
- Parameters
-
| i | Index of a vector element to be marked as missing. |
◆ set_name()
| virtual void uzuki2::Vector::set_name |
( |
std::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 conclassed with support for names.
- Parameters
-
| i | Index of a vector element. |
| n | Name for the vector element. |
◆ size()
| virtual std::size_t uzuki2::Vector::size |
( |
| ) |
const |
|
pure virtual |
- Returns
- Length of the vector.
The documentation for this class was generated from the following file: