Data Structures | Functions | Variables
Efl_Cxx_API

Data Structures

struct  efl::eo::concrete
 Creates concrete versions for Eo wrappers. More...
 
struct  efl::eo::parent_type
 Type used to hold the parent passed to concrete Eo C++ constructors. More...
 
struct  efl::eo::parent_expr
 The expression type declaring the assignment operator used in the parent argument of the concrete Eo C++ class. More...
 
struct  efl::eo::inherit< D, E >
 Template-class that allows client code to inherit from EO C++ Classes without the need to make explicit calls to EO methods — that would naturally be necessary to register itself in the EO Subsystem. More...
 
struct  efl::eo::eo_init
 A simple RAII implementation to initialize and terminate the EO Subsystem. More...
 
struct  efl::eo::wref< T >
 Weak references to an EO Object. More...
 

Functions

template<class CharT , class Traits >
std::basic_ostream< CharT, Traits > & efl::eo::operator<< (std::basic_ostream< CharT, Traits > &os, concrete const &eo)
 
bool efl::eo::operator== (concrete const &lhs, concrete const &rhs)
 
bool efl::eo::operator!= (concrete const &lhs, concrete const &rhs)
 
template<typename T , typename U >
efl::eo::downcast (U object)
 Downcast U to T. More...
 

Variables

parent_expr const efl::eo::parent = {}
 Placeholder for the parent argument.
 

Detailed Description

Function Documentation

◆ downcast()

template<typename T , typename U >
T efl::eo::downcast ( object)

Downcast U to T.

Parameters
TAn EO C++ Class.
UAn EO C++ Class.
objectThe target object.
Returns
This function returns a new instance of T if the downcast is successful — otherwise it raises a std::runtime_error.