Public Member Functions | Static Public Member Functions
efl::model::base Struct Reference

Class base. More...

Public Member Functions

 base (Eo *eo)
 Eo Constructor. More...
 
 base (std::nullptr_t)
 nullptr_t Constructor. More...
 
 base (base const &other)
 Copy Constructor.
 
void load () const
 
void unload () const
 
void properties_load () const
 
void children_load () const
 
::eo::base child_add () const
 
Efl_Model_Load_Status child_del (::eo::base child_) const
 
Efl_Model_Load_Status load_status_get () const
 
Efl_Model_Load_Status properties_get (Eina_Array *const *properties_) const
 
Efl_Model_Load_Status property_get (::efl::eina::string_view property_, const Eina_Value **value_) const
 
Efl_Model_Load_Status property_set (::efl::eina::string_view property_, const Eina_Value *value_) const
 
Efl_Model_Load_Status children_slice_get (unsigned int start_, unsigned int count_, Eina_Accessor **children_accessor_) const
 
Efl_Model_Load_Status children_count_get (unsigned int *children_count_) const
 
template<typename F >
::efl::eo::signal_connection callback_child_added_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_child_added_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_child_removed_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_child_removed_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_children_count_changed_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_children_count_changed_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_load_status_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_load_status_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_properties_changed_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_properties_changed_call (T *info)
 
 base (::efl::eo::parent_type _p)
 Constructs a new efl::model::base object. More...
 
- Public Member Functions inherited from efl::eo::concrete
 concrete (Eo *eo)
 Class constructor. More...
 
 concrete ()
 Default constructor. More...
 
 ~concrete ()
 Class destructor.
 
 concrete (concrete const &other)
 
 concrete (concrete &&other)
 
concreteoperator= (concrete const &other)
 Assignment operator.
 
concreteoperator= (concrete &&other)
 
Eo_eo_ptr () const
 Return a pointer to the EO Object stored in this instance. More...
 
Eo_release ()
 Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More...
 
void _reset (Eo *_ptr=nullptr)
 Reset the current pointer to reference a new Eo object.
 
int ref_get () const
 Get the reference count of this object. More...
 
void parent_set (concrete parent)
 Set the parent of this object. More...
 
eina::optional< concreteparent_get ()
 Get the parent of this object. More...
 
Eo_Dbg_Info dbg_info_get ()
 Get debug information of this object. More...
 
 operator bool () const
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 

Additional Inherited Members

- Protected Attributes inherited from efl::eo::concrete
Eo_eo_raw
 The opaque EO Object.
 

Detailed Description

Class base.

Constructor & Destructor Documentation

efl::model::base::base ( ::efl::eo::parent_type  _p)
inlineexplicit

Constructs a new efl::model::base object.

Constructs a new efl::model::base object. If you want this object to be a child of another Eo object, use an efl::eo::parent expression, like the example.

Example:

efl::model::base my_base(efl::eo::parent = parent_object);
See also
base(Eo* eo)
efl::model::base::base ( Eo eo)
inlineexplicit

Eo Constructor.

Constructs the object from an Eo* pointer stealing its ownership.

Parameters
eoThe Eo object pointer.
efl::model::base::base ( std::nullptr_t  )
inlineexplicit

nullptr_t Constructor.

Constructs an empty (null) object.

Member Function Documentation

Efl_Model_Load_Status efl::model::base::child_del ( ::eo::base  child_) const
Parameters
child