|
Caffa
1.1.0
C++ Application Framework for Embedded Systems with introspection
|
Field class to handle a pointer to a caffa Object. More...
#include <cafChildField.h>


Public Member Functions | |
| bool | empty () const override |
| ChildField & | operator= (Ptr object) |
| bool | operator== (std::shared_ptr< const ObjectHandle > object) const |
| bool | operator== (const ObjectHandle *object) const |
| std::shared_ptr< DataType > | object () |
| std::shared_ptr< const DataType > | object () const |
| void | setObject (Ptr object) |
| operator std::shared_ptr< DataType > () | |
| operator std::shared_ptr< const DataType > () const | |
| operator bool () const | |
| std::shared_ptr< DataType > | operator-> () |
| std::shared_ptr< const DataType > | operator-> () const |
| std::shared_ptr< DataType > | operator() () |
| std::shared_ptr< const DataType > | operator() () const |
| std::vector< std::shared_ptr< ObjectHandle > > | childObjects () override |
| std::vector< std::shared_ptr< const ObjectHandle > > | childObjects () const override |
| void | clear () override |
| void | removeChildObject (std::shared_ptr< const ObjectHandle > object) |
| void | setChildObject (std::shared_ptr< ObjectHandle > object) override |
| std::string | dataType () const override |
| bool | isReadable () const override |
| bool | isWritable () const override |
| void | setAccessor (std::unique_ptr< ChildFieldAccessor > accessor) override |
| std::string | childClassKeyword () const override |
| Get the class keyword of the contained child(ren) | |
Public Member Functions inherited from caffa::ChildFieldBaseHandle | |
| void | accept (Inspector *visitor) const override |
| void | accept (Editor *editor) override |
Public Member Functions inherited from caffa::FieldHandle | |
| std::string | keyword () const |
| ObjectHandle * | ownerObject () |
| const ObjectHandle * | ownerObject () const |
| void | addCapability (std::unique_ptr< FieldCapability > capability) |
| template<typename CapabilityType > | |
| CapabilityType * | capability () |
| template<typename CapabilityType > | |
| const CapabilityType * | capability () const |
| bool | isDeprecated () const |
| void | markDeprecated () |
| void | setDocumentation (const std::string &documentation) |
| const std::string & | documentation () const |
Additional Inherited Members | |
Protected Member Functions inherited from caffa::FieldHandle | |
| bool | isInitialized () const |
| std::list< FieldCapability * > | capabilities () |
Field class to handle a pointer to a caffa Object.
| DataTypePtr | A pointer to a class derived from caffa::Object |
|
inlineoverridevirtual |
Can the field be read. A non-scriptable field cannot be read within the client.
Implements caffa::FieldHandle.
|
inlineoverridevirtual |
Can the field be written to. A non-scriptable field cannot be written to within the client.
Implements caffa::FieldHandle.
1.8.13