by::args Class Reference

Function call arguments container. More...

#include <args.hpp>

Inheritance diagram for by::args:
by::tnarr< node > by::tnucontainer< T, R, RSquare > by::tarrayable< node > by::instance by::tucontainable< T, T *, T & > by::typeProvidable by::clonable

Public Member Functions

 args (const narr &rhs)
 
 args (const baseObj *me)
 
 args (const baseObj *me, const narr &rhs)
 
 args (const me &rhs)
 
const me & setMe (const node &me) const
 
const me & setMe (const node *me) const BY_SIDE_FUNC(me
 
nodegetMe () const
 
std::string toStr () const
 
tmay< me > evalAll (const params &ps) const
 
tmay< me > evalAll (const params *it) const BY_SIDE_FUNC(evalAll)
 
- Public Member Functions inherited from by::tnarr< node >
 tnarr (const Es &... elems)
 
 tnarr (const me &rhs)
 
me & operator= (const me &rhs)=default
 
nodeoperator[] (nidx n) override
 
ncnt len () const override
 
nbool in (nidx n) const override
 
nodeget (nidx n) override
 
nbool set (const iter &at, const node &new1) override
 
nbool set (nidx n, const node &new1) override
 
nbool add (const iter &e, const node &new1) override
 
nbool add (nidx n, const node &new1) override
 
void add (const iter &here, const iter &from, const iter &to) override
 
nbool del (const iter &from, const iter &end) override
 
nbool del (const iter &it) override
 
nbool del (nidx n) override
 
void rel () override
 
clonableclone () const override
 
void onCloneDeep (const clonable &from) override
 
std::string asStr () const
 
- Public Member Functions inherited from by::instance
 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
 
const bindTaggetBindTag () const
 
- Public Member Functions inherited from by::typeProvidable
nbool operator== (const me &rhs) const
 
nbool operator!= (const me &rhs) const
 
virtual const typegetType () 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)
 
const void * cast (const type &to) const BY_CONST_FUNC(cast(to)) void *cast(const type *it) BY_SIDE_FUNC(cast)
 
- Public Member Functions inherited from by::clonable
virtual me * cloneDeep () const
 
virtual void onCloneDeep (const me &from)
 
- Public Member Functions inherited from by::tucontainable< T, T *, T & >
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
 
nbool in (std::function< nbool(const T1 &)> l) const
 
nbool isEmpty () const
 
std::conditional_t< _IS_POINTER, T1 *, tmay< T1 > > get (std::function< nbool(const T1 &)> l)
 
std::conditional_t< _IS_POINTER, T *, tmay< T * > > get (std::function< nbool(const T &)> l)
 
std::conditional_t< _IS_POINTER, const T1 *, tmay< T1 > > get(std::function< nbool(const T1 &)> l) const std tnarr< T, strTacticgetAll (std::function< nbool(const T &)> l) const
 
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)
 
virtual void add (const iter &here, const iter &from, const iter &to)=0
 
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
 
ncnt add (const typename tucontainable< E >::iter &from, const typename tucontainable< E >::iter &to)
 
ncnt add (const tucontainable< E > &rhs)
 
ncnt add (const tbicontainable< K, V > &rhs)
 
void add void ())
 
nbool del ()
 delete last element if exists.
 
nbool del (const T &it)
 
nbool del (const T *it) BY_SIDE_FUNC(del)
 
virtual nbool del (const iter &it)=0
 
virtual nbool del (const iter &from, const iter &end)=0
 
nbool del (const me &rhs)
 
nbool del (const me *rhs) BY_SIDE_FUNC(rhs
 
- Public Member Functions inherited from by::tarrayable< node >
const nodeoperator[] (nidx n) const BY_CONST_FUNC(operator[](n)) virtual nbool in(nidx n) const=0
 
const nodeget (nidx n) const BY_CONST_FUNC(get(n)) virtual nbool set(nidx n
 
nbool set (nidx n, const node *new1) BY_SIDE_FUNC(new1
 
nbool set (n, *new1)
 
nbool add (nidx n, const node *new1) BY_SIDE_FUNC(new1
 
nbool add (n, *new1)
 

Public Attributes

const me setMe me
 
const me setMethis
 
- Public Attributes inherited from by::tucontainable< T, T *, T & >
void each(std::function< nbool(const T1 &)> l) const BY_CONST_FUNC(each(l)) void each(std iter rbegin () const
 
virtual nbool false
 
nbool false
 
nbool del false
 
void add rhs
 
nbool del rhs
 
- Public Attributes inherited from by::tarrayable< node >
const node * const nodenew1
 
nbool false
 

Additional Inherited Members

- Public Types inherited from by::tnarr< node >
typedef tstr< node, strTacticwrap
 
typedef super::iter iter
 
typedef super::iteration iteration
 
- Protected Member Functions inherited from by::tnarr< node >
iteration_onMakeIteration (ncnt step, nbool isReversed) const override
 
- Protected Member Functions inherited from by::instance
nbool _setId (id new1)
 
- Static Protected Member Functions inherited from by::instance
static instancer_getMgr ()
 

Detailed Description

Function call arguments container.

Container for function call arguments with 'me' object support. Manages argument evaluation, type checking, and parameter matching for function calls.

Member Function Documentation

◆ setMe()

const me & by::args::setMe ( const node me) const
Parameters
methis should be evaluated already before you pass it to this func.

◆ toStr()

std::string by::args::toStr ( ) const
Remarks
in order to call this func, you must have prepared thread and frames.

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