Scripted array container for byeol language. More...
#include <arr.hpp>
Public Member Functions | |
| arr (const node &elemType) | |
| arr (const me &rhs) | |
| node & | operator[] (nidx n) override |
| const ntype & | getType () const override |
| scope & | subs () override |
| ncnt | len () const override |
| nbool | in (nidx n) const override |
| node * | get (nidx n) override |
| nbool | set (const iter &at, const node &new1) override |
| nbool | set (nidx n, const node &new1) override |
| nbool | add (const iter &at, 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 (nidx n) override |
| nbool | del (const iter &it) override |
| nbool | del (const iter &from, const iter &to) override |
| void | rel () override |
| const baseObj & | getOrigin () const override |
| std::string | asStr () const |
Public Member Functions inherited from by::tbridge< narr > | |
| tbridge (const me &rhs) | |
| narr * | get () |
| const narr * | get () const |
| const baseObj & | getOrigin () const override |
Public Member Functions inherited from by::baseObj | |
| str | eval (const args &a) override |
| scope & | subs () override |
| state | getState () const override |
| void | setState (state new1) override |
| priorType | prioritize (const args &a) const override |
| void | inFrame (const bicontainable *args) const override |
| void | outFrame () const override |
| const src & | getSrc () const override |
| virtual const node & | getSubPod () const |
| Retrieves a sub-pod represented as a node. | |
| virtual baseObj * | make () const |
| const modifier & | getModifier () const override |
Public Member Functions inherited from by::node | |
| me & | operator[] (const std::string &name) |
| const me & | operator[] (const std::string &name) const BY_CONST_FUNC(operator[](name)) |
| me & | operator[] (const std::string *it) |
| const me & | operator[] (const std::string *it) const BY_CONST_FUNC(operator[](it)) |
| me & | operator[] (const nchar *name) |
| const me & | operator[] (const nchar *name) const BY_CONST_FUNC(operator[](name)) |
| nbool | in (const node &elem) const |
| nbool | in (const node *elem) const |
| const scope & | subs () const BY_CONST_FUNC(subs()) virtual tstr< nbicontainer > mySubs() const |
| Returns a tstr to a container of immediate sub-nodes (excluding inherited or chained ones). | |
| const node * | promote (const node &it) const |
| const node * | promote (const node *it) const BY_SIDE_FUNC(promote) |
| template<typename T > | |
| T * | sub (std::function< nbool(const std::string &, const T &)> l) |
| template<typename T > | |
| const T * | sub (std::function< nbool(const std::string &, const T &)> l) const BY_CONST_FUNC(sub< T >(l)) template< typename T |
| template<typename T = me> | |
| const T * | sub () const BY_CONST_FUNC(sub< T >()) template< typename T |
| template<typename T = me> | |
| T * | sub (const std::string *it) BY_SIDE_FUNC(sub) |
| template<typename T = me> | |
| const T * | sub (const std::string &name) const BY_CONST_FUNC(sub< T >(name)) template< typename T |
| template<typename T = me> | |
| T * | sub (const std::string *name, const args &a) BY_SIDE_FUNC(name |
| template<typename T = me> | |
| const T * | sub (const std::string &name, const args &a) const BY_CONST_FUNC(sub< T >(name |
| template<typename T = me> | |
| const T a const T * | sub (const std::string *name, const args &a) const BY_CONST_FUNC(sub< T >(name |
| template<typename T > | |
| const T a const T a tnarr< T, strTactic > | subAll (std::function< nbool(const std::string &, const T &)> l) const |
| template<typename T = me> | |
| tnarr< T, strTactic > | subAll () const |
| template<typename T = me> | |
| tpriorities< T > | subAll (const std::string &name) const |
| template<typename T = me> | |
| tpriorities< T > | subAll (const std::string *it) const BY_SIDE_FUNC(subAll< T >) template< typename T |
| template<typename T = me> | |
| tpriorities< T > | subAll (const std::string &name, const args &a) const |
| template<typename T = me> | |
| tpriorities< T > | subAll (const std::string *name, const args *a) const BY_SIDE_FUNC(name |
| tpriorities< T > subAll< T > | tpriorities ()) |
| template<typename T = me> | |
| tpriorities< T > | subAll (const std::string *name, const args &a) const BY_SIDE_FUNC(name |
| tpriorities< T > subAll< T > | tpriorities ()) |
| bool | canEval (const args &a) const |
| priorType | prioritize (const args *it) const BY_SIDE_FUNC(it |
| str | eval (const args *it) BY_SIDE_FUNC(eval) |
| str | eval (const std::string &name, const args &a) |
| str | eval (const std::string &name, const args *a) BY_SIDE_FUNC(a |
| str | eval (name, a) |
| str | str ()) |
| str | eval (const std::string *name, const args &a) BY_SIDE_FUNC(name |
| str eval | str ()) |
| str | eval (const std::string *name, const args *a) BY_SIDE_FUNC(name &&a |
| str eval | str ()) |
| str | eval (const std::string &name) |
| str | eval (const std::string *it) BY_SIDE_FUNC(eval) |
| str | eval () |
| template<typename T > | |
| nbool | is () const |
| nbool | is (const typeProvidable &to) const |
| nbool | is (const typeProvidable *it) const BY_SIDE_FUNC(is) |
| nbool | is (const type &to) const |
| nbool | is (const type *it) const BY_SIDE_FUNC(is) |
| template<typename T > | |
| tstr< T > | as () const |
| str | as (const typeProvidable &to) const |
| str | as (const typeProvidable *it) const BY_SIDE_FUNC(as) |
| str | as (const type &to) const |
| str | as (const type *it) const BY_SIDE_FUNC(as) |
| template<typename T > | |
| nbool | isImpli () const |
| virtual nbool | isImpli (const type &to) const |
| nbool | isImpli (const typeProvidable &to) const |
| nbool | isImpli (const typeProvidable *it) const BY_SIDE_FUNC(isImpli) |
| template<typename T > | |
| tstr< T > | asImpli () const |
| virtual str | asImpli (const type &to) const |
| str | asImpli (const typeProvidable &to) const |
| str | asImpli (const typeProvidable *it) const BY_SIDE_FUNC(asImpli) |
| virtual nbool | isComplete () const |
| virtual str | infer () const |
| virtual void | accept (const visitInfo &i, visitor &v) |
| void | inFrame (const bicontainable *args) const override |
| void | outFrame () const override |
| virtual void | inFrame (const bicontainable *args) const=0 |
| void | inFrame () const |
| virtual void | outFrame () const=0 |
Public Member Functions inherited from by::frameInteractable | |
| void | inFrame () const |
Public Member Functions inherited from by::tucontainable< node > | |
| nbool | in (const node &it) const |
| nbool | in (const node *it) const BY_SIDE_FUNC(in) |
| nbool | in (std::function< nbool(const node &)> 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, node *, tmay< node * > > | get (std::function< nbool(const node &)> l) |
| void | each (std::function< nbool(T1 &)> l) |
| void | each (std::function< nbool(node &)> l) |
| virtual iter | end () const |
| virtual iter | rend () const |
| virtual iter | last () const |
| iter | iterate (ncnt step) const |
| iter | iterate (const node &it) const |
| iter | riterate (ncnt step) const |
| iter | riterate (const node &it) const |
| virtual nbool | set (const iter &at, const node *new1) BY_SIDE_FUNC(new1 |
| virtual nbool | set (at, *new1) |
| nbool | add (const iter &at, const node *new1) BY_SIDE_FUNC(new1 |
| nbool | add (at, *new1) |
| nbool | add (std::initializer_list< const node * > elems) |
| nbool | add (const node &new1) |
| nbool | add (const node *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 |
| 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 () |
| nbool | del (const node &it) |
| nbool | del (const node *it) BY_SIDE_FUNC(del) |
| nbool | del (const me &rhs) |
| nbool | del (const me *rhs) BY_SIDE_FUNC(rhs |
Public Member Functions inherited from by::tarrayable< node > | |
| const node & | operator[] (nidx n) const BY_CONST_FUNC(operator[](n)) virtual nbool in(nidx n) const=0 |
| const node * | get (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) |
Protected Member Functions | |
| iteration * | _onMakeIteration (ncnt step, nbool isReversed) const override |
Protected Member Functions inherited from by::tbridge< narr > | |
| tbridge () | |
| tbridge (narr *real, const baseObj *origin=nullptr) | |
Protected Member Functions inherited from by::baseObj | |
| baseObj ()=default | |
| Default constructor for baseObj. | |
| baseObj (const baseObj *org, nbool isScripted) | |
| Constructs a baseObj from an existing origin object. | |
| str | _onEvalSub (node &sub, const args &a) override |
| Protected virtual method for evaluating a sub-node. | |
| void | _setSrc (const src &s) override |
| virtual void | _inFrame (frame &fr, const bicontainable *args) const |
| Enters this object's frame into the current execution stack. | |
| virtual void | _setType (const mgdType &new1) |
| Sets the script type for this base object. | |
| virtual void | _setModifier (const modifier &mod) |
| virtual str | _onBeforeCtor () |
| Hook method called before the object's constructor is fully executed. | |
Protected Member Functions inherited from by::node | |
| void | _setSrc (const src *it) BY_SIDE_FUNC(_setSrc) |
Friends | |
| class | interpreter |
| struct | ::arrIntegTest |
Additional Inherited Members | |
Public Attributes inherited from by::node | |
| T sub | name |
| T sub | nullptr |
| tpriorities< T > subAll< T > | name |
| priorType prioritize | it |
| priorType prioritize | NO_MATCH |
| str eval | name |
Public Attributes inherited from by::tucontainable< node > | |
| std::conditional_t< _IS_POINTER, const T1 *, tmay< T1 > > get(std::function< nbool(const T1 &)> l) const std tnarr< node, strTactic | getAll )(std::function< nbool(const node &)> l) const |
| void each(std::function< nbool(const T1 &)> l) const BY_CONST_FUNC(each(l)) void each(std ite | 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 node & | new1 |
| nbool | false |
Static Public Attributes inherited from by::baseObj | |
| static const std::string | COMMON_NAME = "@common" |
| static const std::string | EXPAND_NAME = "@expand" |
Protected Attributes inherited from by::baseObj | |
| tstr< baseObj > | _org |
Scripted array container for byeol language.
Dynamic array container with type checking and generic support. Provides bridged access to native array with script object semantics.
|
overrideprotectedvirtual |
Implements by::tucontainable< node >.
Implements by::tucontainable< node >.
Implements by::tucontainable< node >.
Implements by::tarrayable< node >.
Reimplemented in by::tdumArr< T, defaultElemType >.
Implements by::tucontainable< node >.
Implements by::tucontainable< node >.
delete last element if exists.
Implements by::tarrayable< node >.
Implements by::tarrayable< node >.
Reimplemented from by::baseObj.
|
overridevirtual |
Implements by::tucontainable< node >.
Implements by::tarrayable< node >.
|
overridevirtual |
Implements by::tucontainable< node >.