neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::DesignStudio::i_element_library Class Referenceabstract

#include <i_element_library.hpp>

Inheritance diagram for neogfx::DesignStudio::i_element_library:
neolib::i_reference_counted

Classes

struct  unknown_element_type
 

Public Types

typedef i_element_library abstract_type
 
typedef neolib::i_set< neolib::i_stringelements_t
 
typedef neolib::i_vector< neolib::i_stringelements_ordered_t
 

Public Member Functions

virtual neolib::i_applicationapplication () const =0
 
virtual void ide_ready (i_ide &aIde)=0
 
virtual const elements_telements () const =0
 
virtual const elements_ordered_telements_ordered () const =0
 
virtual void create_element (i_project &aProject, const neolib::i_string &aElementType, const neolib::i_string &aElementId, neolib::i_ref_ptr< i_element > &aResult)=0
 
virtual void create_element (i_element &aParent, const neolib::i_string &aElementType, const neolib::i_string &aElementId, neolib::i_ref_ptr< i_element > &aResult)=0
 
virtual DesignStudio::element_group element_group (const neolib::i_string &aElementType) const =0
 
virtual i_texture const & element_icon (const neolib::i_string &aElementType) const =0
 
neolib::ref_ptr< i_elementcreate_element (i_project &aProject, std::string const &aElementType, std::string const &aElementId)
 
neolib::ref_ptr< i_elementcreate_element (i_element &aParent, std::string const &aElementType, std::string const &aElementId)
 
- Public Member Functions inherited from neolib::i_reference_counted
virtual ~i_reference_counted ()=default
 
virtual void add_ref () const noexcept=0
 
virtual void release () const =0
 
virtual int32_t use_count () const noexcept=0
 
virtual const i_reference_countedrelease_and_take_ownership () const =0
 
virtual i_reference_countedrelease_and_take_ownership ()=0
 
virtual void pin () const noexcept=0
 
virtual void unpin () const =0
 
virtual i_ref_control_blockcontrol_block ()=0
 

Static Public Member Functions

static const neolib::uuidiid ()
 

Detailed Description

Definition at line 37 of file i_element_library.hpp.

Member Typedef Documentation

◆ abstract_type

◆ elements_ordered_t

◆ elements_t

Member Function Documentation

◆ application()

virtual neolib::i_application & neogfx::DesignStudio::i_element_library::application ( ) const
pure virtual

◆ create_element() [1/4]

virtual void neogfx::DesignStudio::i_element_library::create_element ( i_element aParent,
const neolib::i_string aElementType,
const neolib::i_string aElementId,
neolib::i_ref_ptr< i_element > &  aResult 
)
pure virtual

◆ create_element() [2/4]

neolib::ref_ptr< i_element > neogfx::DesignStudio::i_element_library::create_element ( i_element aParent,
std::string const &  aElementType,
std::string const &  aElementId 
)
inline

Definition at line 69 of file i_element_library.hpp.

◆ create_element() [3/4]

virtual void neogfx::DesignStudio::i_element_library::create_element ( i_project aProject,
const neolib::i_string aElementType,
const neolib::i_string aElementId,
neolib::i_ref_ptr< i_element > &  aResult 
)
pure virtual

◆ create_element() [4/4]

neolib::ref_ptr< i_element > neogfx::DesignStudio::i_element_library::create_element ( i_project aProject,
std::string const &  aElementType,
std::string const &  aElementId 
)
inline

Definition at line 63 of file i_element_library.hpp.

◆ element_group()

virtual DesignStudio::element_group neogfx::DesignStudio::i_element_library::element_group ( const neolib::i_string aElementType) const
pure virtual

◆ element_icon()

virtual i_texture const & neogfx::DesignStudio::i_element_library::element_icon ( const neolib::i_string aElementType) const
pure virtual

◆ elements()

virtual const elements_t & neogfx::DesignStudio::i_element_library::elements ( ) const
pure virtual

◆ elements_ordered()

virtual const elements_ordered_t & neogfx::DesignStudio::i_element_library::elements_ordered ( ) const
pure virtual

◆ ide_ready()

virtual void neogfx::DesignStudio::i_element_library::ide_ready ( i_ide aIde)
pure virtual

◆ iid()

static const neolib::uuid & neogfx::DesignStudio::i_element_library::iid ( )
inlinestatic

Definition at line 77 of file i_element_library.hpp.


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