Rumba C++ SDK
Children

Classes

class  maquina::NodeDelegate::ChildIteratorDelegate
 A node attribute iterator delegate to implement a child iterator in the plugin. More...
 
class  maquina::NodeDelegate::ChildIterator
 A node attribute iterator. More...
 
class  maquina::NodeDelegate::Children
 A node children iteration. More...
 

Functions

virtual int maquina::NodeDelegate::child_count () const
 Returns the number of children in the node. More...
 
virtual std::shared_ptr< NodeDelegatemaquina::NodeDelegate::child (const StringView &name)
 Return a node child using its name. More...
 
virtual std::shared_ptr< ChildIteratorDelegatemaquina::NodeDelegate::_children_begin ()
 Return the begin iterator of the attributes. More...
 
virtual std::shared_ptr< ChildIteratorDelegatemaquina::NodeDelegate::_children_end ()
 Return the end iterator of the attributes. More...
 

Detailed Description

Function Documentation

◆ _children_begin()

virtual std::shared_ptr<ChildIteratorDelegate> maquina::NodeDelegate::_children_begin ( )
protectedvirtual

Return the begin iterator of the attributes.

Reimplemented in maquina::NodeDelegateRumba.

◆ _children_end()

virtual std::shared_ptr<ChildIteratorDelegate> maquina::NodeDelegate::_children_end ( )
protectedvirtual

Return the end iterator of the attributes.

Reimplemented in maquina::NodeDelegateRumba.

◆ child()

virtual std::shared_ptr<NodeDelegate> maquina::NodeDelegate::child ( const StringView name)
virtual

Return a node child using its name.

Return nullptr if the child does not exist.

◆ child_count()

virtual int maquina::NodeDelegate::child_count ( ) const
virtual

Returns the number of children in the node.

Implemented by the plug-in.

Reimplemented in maquina::NodeDelegateRumba.