Public Types | |
enum | SourceType { None , TypeLibrary , TypeArchive , DebugInfo , Platform , Other } |
Public Types inherited from TypeBrowserTreeNode | |
typedef std::function< void(UpdateData)> | UpdateNodeCallback |
Public Member Functions | |
TypeTreeNode (class TypeBrowserModelData *model, std::optional< std::weak_ptr< TypeBrowserTreeNode > > parent, const std::string &id, BinaryNinja::QualifiedName name, TypeRef type) | |
virtual | ~TypeTreeNode ()=default |
const std::string & | id () const |
const BinaryNinja::QualifiedName & | name () const |
const TypeRef & | type () const |
void | setType (const std::string &id, const BinaryNinja::QualifiedName &name, const TypeRef &type) |
const std::string & | sortName () const |
const SourceType & | sourceType () const |
std::optional< BinaryNinja::TypeContainer > | typeContainer () const |
std::optional< BinaryNinja::TypeContainer > | sourceTypeContainer () const |
PlatformRef | sourcePlatform () const |
virtual std::string | text (int column) const override |
virtual bool | lessThan (const TypeBrowserTreeNode &other, int column) const override |
virtual bool | filter (const std::string &filter, TypeBrowserFilterMode mode) const override |
Public Member Functions inherited from TypeBrowserTreeNode | |
class TypeBrowserModelData * | model () const |
std::optional< std::shared_ptr< TypeBrowserTreeNode > > | parent () const |
const std::vector< std::shared_ptr< TypeBrowserTreeNode > > & | children () |
int | indexOfChild (std::shared_ptr< const TypeBrowserTreeNode > child) const |
virtual void | updateChildren (bool recursive, UpdateNodeCallback update) |
Protected Member Functions | |
virtual void | generateChildren () override |
Protected Member Functions inherited from TypeBrowserTreeNode | |
TypeBrowserTreeNode (class TypeBrowserModelData *model, std::optional< std::weak_ptr< TypeBrowserTreeNode > > parent) | |
virtual | ~TypeBrowserTreeNode ()=default |
void | updateChildIndices () |
void | removeChild (std::shared_ptr< TypeBrowserTreeNode > child) |
void | addChild (std::shared_ptr< TypeBrowserTreeNode > child) |
Additional Inherited Members | |
Protected Attributes inherited from TypeBrowserTreeNode | |
class TypeBrowserModelData * | m_model |
std::optional< std::weak_ptr< TypeBrowserTreeNode > > | m_parent |
std::vector< std::shared_ptr< TypeBrowserTreeNode > > | m_children |
std::map< const TypeBrowserTreeNode *, size_t > | m_childIndices |
bool | m_hasGeneratedChildren |
TypeTreeNode::TypeTreeNode | ( | class TypeBrowserModelData * | model, |
std::optional< std::weak_ptr< TypeBrowserTreeNode > > | parent, | ||
const std::string & | id, | ||
BinaryNinja::QualifiedName | name, | ||
TypeRef | type ) |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
void TypeTreeNode::setType | ( | const std::string & | id, |
const BinaryNinja::QualifiedName & | name, | ||
const TypeRef & | type ) |
|
inline |
|
inline |
std::optional< BinaryNinja::TypeContainer > TypeTreeNode::typeContainer | ( | ) | const |
std::optional< BinaryNinja::TypeContainer > TypeTreeNode::sourceTypeContainer | ( | ) | const |
PlatformRef TypeTreeNode::sourcePlatform | ( | ) | const |
|
overridevirtual |
Implements TypeBrowserTreeNode.
|
overridevirtual |
Implements TypeBrowserTreeNode.
|
overridevirtual |
Implements TypeBrowserTreeNode.
|
overrideprotectedvirtual |
Implements TypeBrowserTreeNode.