|
|
| nseq (const nInt &start, const nInt &end) |
| |
|
| nseq (const nInt &start, const nInt &end, const nInt &step) |
| |
| nInt | operator[] (nidx n) override |
| |
|
const nInt & | getStart () const |
| |
|
const nInt & | getEnd () const |
| |
|
const nInt & | getStep () const |
| |
| ncnt | len () const override |
| |
| void | rel () override |
| |
| nInt | get (nidx n) override |
| |
|
nbool | in (nidx n) const override |
| |
|
| instance (id newId) |
| |
|
| instance (const me &rhs) |
| |
|
me & | operator= (const me &rhs)=default |
| |
|
void * | operator new (size_t sz) noexcept |
| |
|
void | operator delete (void *pt, size_t sz) noexcept |
| |
|
virtual id | getId () const |
| |
| virtual nbool | isHeap () const |
| | Checks if this instance is allocated on the heap.
|
| |
| const life * | getBindTag () const |
| | Returns a pointer to the associated life object for reference counting.
|
| |
|
nbool | operator== (const me &rhs) const |
| |
|
nbool | operator!= (const me &rhs) const |
| |
|
virtual const type & | getType () const =0 |
| |
|
nbool | isSub (const type &it) const |
| |
|
nbool | isSub (const type *it) const BY_SIDE_FUNC(isSub) |
| |
|
nbool | isSub (const me &it) const |
| |
|
nbool | isSub (const me *it) const BY_SIDE_FUNC(isSub) |
| |
|
nbool | isSuper (const type &it) const |
| |
|
nbool | isSuper (const type *it) const BY_SIDE_FUNC(isSuper) |
| |
|
nbool | isSuper (const me &it) const |
| |
|
nbool | isSuper (const me *it) const BY_SIDE_FUNC(isSuper) |
| |
|
template<typename T > |
| nint | isSub () const |
| |
|
template<typename T > |
| nint | isSuper () const |
| |
|
template<typename T > |
| T * | cast () |
| |
| template<typename T > |
| const T * | cast () const BY_CONST_FUNC(cast< T >()) virtual void *cast(const type &to) |
| | Safe cast to target type using type hierarchy information
|
| |
|
const void * | cast (const type &to) const BY_CONST_FUNC(cast(to)) void *cast(const type *it) BY_SIDE_FUNC(cast) |
| |
|
virtual me * | clone () const =0 |
| |
|
virtual me * | cloneDeep () const |
| |
|
virtual void | onCloneDeep (const me &from) |
| |
|
nbool | in (const T &it) const |
| |
|
nbool | in (const T *it) const BY_SIDE_FUNC(in) |
| |
|
nbool | in (std::function< nbool(const T &)> l) const |
| |
|
template<typename T1 > |
| nbool | in (std::function< nbool(const T1 &)> l) const |
| |
|
nbool | isEmpty () const |
| |
|
template<typename T1 > |
| std::conditional_t< _IS_POINTER, T1 *, tmay< T1 > > | get (std::function< nbool(const T1 &)> l) |
| |
|
std::conditional_t< _IS_POINTER, R, tmay< R > > | get (std::function< nbool(const T &)> l) |
| |
|
template<typename T1 > |
| void | each (std::function< nbool(T1 &)> l) |
| |
|
void | each (std::function< nbool(T &)> l) |
| |
|
virtual iter | end () const |
| |
|
virtual iter | rend () const |
| |
|
virtual iter | last () const |
| |
|
iter | iterate (ncnt step) const |
| |
|
iter | iterate (const T &it) const |
| |
|
iter | riterate (ncnt step) const |
| |
|
iter | riterate (const T &it) const |
| |
|
virtual nbool | set (const iter &at, const T &new1)=0 |
| |
|
virtual nbool | set (const iter &at, const T *new1) BY_SIDE_FUNC(new1 |
| |
|
virtual nbool | set (at, *new1) |
| |
|
virtual nbool | add (const iter &at, const T &new1)=0 |
| |
|
nbool | add (const iter &at, const T *new1) BY_SIDE_FUNC(new1 |
| |
|
nbool | add (at, *new1) |
| |
|
nbool | add (std::initializer_list< const T * > elems) |
| |
|
nbool | add (const T &new1) |
| |
|
nbool | add (const T *it) BY_SIDE_FUNC(add) |
| |
|
void | add (const iter &from, const iter &to) |
| |
|
void | add (const iter &here, me &rhs) |
| |
|
void | add (const me &rhs) |
| |
|
void | add (const me *rhs) BY_SIDE_FUNC(rhs |
| |
|
void add | void ()) |
| |
|
template<typename E > |
| ncnt | add (const typename tucontainable< E >::iter &from, const typename tucontainable< E >::iter &to) |
| |
|
template<typename E > |
| ncnt | add (const tucontainable< E > &rhs) |
| |
|
template<typename K , typename V > |
| ncnt | add (const tbicontainable< K, V > &rhs) |
| |
| nbool | del () |
| |
|
nbool | del (const T &it) |
| |
|
nbool | del (const T *it) BY_SIDE_FUNC(del) |
| |
|
nbool | del (const me &rhs) |
| |
|
nbool | del (const me *rhs) BY_SIDE_FUNC(rhs |
| |
|
const nInt | operator[] (nidx n) const BY_CONST_FUNC(operator[](n)) virtual nbool in(nidx n) const=0 |
| |
|
const nInt | get (nidx n) const BY_CONST_FUNC(get(n)) virtual nbool set(nidx n |
| |
|
nbool | set (nidx n, const nInt *new1) BY_SIDE_FUNC(new1 |
| |
|
nbool | set (n, *new1) |
| |
|
nbool | add (nidx n, const nInt *new1) BY_SIDE_FUNC(new1 |
| |
|
nbool | add (n, *new1) |
| |
Native sequence container for integer ranges
Immutable sequence representing integer ranges with start, end, and step. Provides read-only access to computed sequence values without storing all elements.