MythTV  master
Public Member Functions | Protected Attributes | Private Attributes | Static Private Attributes | List of all members
meta_node Class Referenceabstract

#include <videometadatalistmanager.h>

Inheritance diagram for meta_node:
Inheritance graph
Collaboration diagram for meta_node:
Collaboration graph

Public Member Functions

 meta_node (meta_node *parent, bool is_path_root=false)
virtual ~meta_node ()=default
virtual const QString & getName () const =0
virtual const QString & getPath () const
const QString & getFQPath ()
void setParent (meta_node *parent)
void setPathRoot (bool is_root=true)

Protected Attributes

meta_nodem_parent {nullptr}

Private Attributes

QString m_fqPath
bool m_pathRoot

Static Private Attributes

static const QString kEmptyPath

Detailed Description

Definition at line 38 of file videometadatalistmanager.h.

Constructor & Destructor Documentation

◆ meta_node()

meta_node::meta_node ( meta_node parent,
bool  is_path_root = false 

Definition at line 41 of file videometadatalistmanager.h.

◆ ~meta_node()

virtual meta_node::~meta_node ( )

Member Function Documentation

◆ getName()

virtual const QString& meta_node::getName ( ) const
pure virtual

Implemented in meta_dir_node, and meta_data_node.

◆ getPath()

const QString & meta_node::getPath ( ) const

Reimplemented in meta_dir_node.

Definition at line 194 of file videometadatalistmanager.cpp.

Referenced by getFQPath().

◆ getFQPath()

const QString & meta_node::getFQPath ( )

◆ setParent()

void meta_node::setParent ( meta_node parent)

Definition at line 218 of file videometadatalistmanager.cpp.

◆ setPathRoot()

void meta_node::setPathRoot ( bool  is_root = true)

Member Data Documentation

◆ m_parent

meta_node* meta_node::m_parent {nullptr}

Definition at line 52 of file videometadatalistmanager.h.

Referenced by getFQPath(), and setParent().

◆ m_fqPath

QString meta_node::m_fqPath

Definition at line 55 of file videometadatalistmanager.h.

Referenced by getFQPath().

◆ m_pathRoot

bool meta_node::m_pathRoot

Definition at line 56 of file videometadatalistmanager.h.

Referenced by getFQPath(), and setPathRoot().

◆ kEmptyPath

const QString meta_node::kEmptyPath

Definition at line 57 of file videometadatalistmanager.h.

Referenced by getPath().

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