TreeObjectItem Class Reference

Tree item linked with an object More...

#include <treeobjectitem.h>

Inherits TreeItem.

Inherited by TreeFileItem.

List of all members.

Public Member Functions

 TreeObjectItem (Object &object, const ProgramLoader &programLoader, TreeItem *parent)
Objectobject () const
Object::iterator nextChild ()
Object::iterator end ()
virtual bool synchronised ()
void advanceLastChild ()
void setLastChildIndex (int64_t l)
bool filterObject (Object &object)
bool updateFilter (const std::string &expression)
const std::string & filterExpression ()
virtual bool hasStream () const override
virtual QVariant clipboardValue () const override
virtual bool hasLinkTo () const override
virtual qint64 linkTo () const override

Protected Member Functions

 TreeObjectItem (const ProgramLoader &programLoader, TreeItem *parent)
virtual void onChildrenRemoved () override
void setObject (Object &object)

Detailed Description

Tree item linked with an object

The children of the item are mapped to the children of the object. The item is responsible for parsing the object if necessary.

The item also holds a filter that it can use to filter its children when requested.


Constructor & Destructor Documentation

TreeObjectItem::TreeObjectItem ( Object object,
const ProgramLoader programLoader,
TreeItem parent 
)
TreeObjectItem::TreeObjectItem ( const ProgramLoader programLoader,
TreeItem parent 
) [protected]

Member Function Documentation

virtual QVariant TreeObjectItem::clipboardValue ( ) const [override, virtual]

Reimplemented from TreeItem.

const std::string& TreeObjectItem::filterExpression ( )
virtual bool TreeObjectItem::hasLinkTo ( ) const [override, virtual]

Reimplemented from TreeItem.

virtual bool TreeObjectItem::hasStream ( ) const [override, virtual]

Reimplemented from TreeItem.

virtual qint64 TreeObjectItem::linkTo ( ) const [override, virtual]

Reimplemented from TreeItem.

virtual void TreeObjectItem::onChildrenRemoved ( ) [override, protected, virtual]

Reimplemented from TreeItem.

void TreeObjectItem::setLastChildIndex ( int64_t  l)
void TreeObjectItem::setObject ( Object object) [protected]
virtual bool TreeObjectItem::synchronised ( ) [virtual]

Reimplemented from TreeItem.

bool TreeObjectItem::updateFilter ( const std::string &  expression)

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