Caffa  1.1.0
C++ Application Framework for Embedded Systems with introspection
Public Member Functions | Protected Attributes | List of all members
caffa::ChildArrayFieldAccessor Class Referenceabstract
Inheritance diagram for caffa::ChildArrayFieldAccessor:
Inheritance graph
[legend]
Collaboration diagram for caffa::ChildArrayFieldAccessor:
Collaboration graph
[legend]

Public Member Functions

 ChildArrayFieldAccessor (FieldHandle *field)
 
virtual size_t size () const =0
 
virtual void clear ()=0
 
virtual std::vector< std::shared_ptr< ObjectHandle > > objects ()=0
 
virtual std::vector< std::shared_ptr< const ObjectHandle > > objects () const =0
 
virtual std::shared_ptr< ObjectHandleat (size_t index) const =0
 
virtual void insert (size_t index, std::shared_ptr< ObjectHandle > pointer)=0
 
virtual void push_back (std::shared_ptr< ObjectHandle > pointer)=0
 
virtual size_t index (std::shared_ptr< const ObjectHandle > pointer) const =0
 
virtual void remove (size_t index)=0
 
virtual bool hasSetter () const =0
 
virtual bool hasGetter () const =0
 

Protected Attributes

FieldHandlem_field
 

Member Function Documentation

◆ hasGetter()

virtual bool caffa::ChildArrayFieldAccessor::hasGetter ( ) const
pure virtual

The accessor has a setter. Thus can be written to.

Returns
true if it has a setter

Implemented in caffa::rpc::ChildArrayFieldAccessor, and caffa::ChildArrayFieldDirectStorageAccessor.

◆ hasSetter()

virtual bool caffa::ChildArrayFieldAccessor::hasSetter ( ) const
pure virtual

The accessor has a getter. Thus can be read.

Returns
true if it has a getter

Implemented in caffa::rpc::ChildArrayFieldAccessor, and caffa::ChildArrayFieldDirectStorageAccessor.


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